1 #ifndef PLAYERCONTROLLER_H_
2 #define PLAYERCONTROLLER_H_
4 #include <msp/game/eventobserver.h>
5 #include <msp/game/owned.h>
6 #include <msp/game/system.h>
11 class PlayerController: public Msp::Game::System
14 Controls *controls = nullptr;
15 ShipSetup player_setup;
16 Msp::Game::Owned<Ship> player_ship;
19 PlayerController(Msp::Game::Stage &);
21 void set_controls(Controls *);
23 void tick(Msp::Time::TimeDelta) override;