4 #include <msp/game/camera.h>
5 #include <msp/game/owned.h>
6 #include <msp/game/resources.h>
7 #include <msp/gameview/application.h>
8 #include <msp/gameview/resources.h>
11 class PlayerController;
13 class BassteroidsResources: public Msp::Game::ApplicationResources, public Msp::GameView::Resources
16 BassteroidsResources();
19 class Bassteroids: public Msp::GameView::Application<Bassteroids, BassteroidsResources>
22 Msp::Game::EventObserver event_observer;
23 Msp::Game::Stage &game_stage;
25 PlayfieldSetup pf_setup;
26 Msp::Game::Owned<Playfield> playfield;
27 PlayerController *player_controller = nullptr;
29 Msp::Game::Owned<Msp::Game::Entity> cam_entity;
30 Msp::Game::Owned<Msp::Game::Camera> camera;
33 Bassteroids(int, char **);
36 void player_arrived(const Msp::GameView::Events::PlayerArrived &);