]> git.tdb.fi Git - libs/game.git/blob - examples/bassteroids/source/controls.h
Add a controllable player ship to Bassteroids
[libs/game.git] / examples / bassteroids / source / controls.h
1 #ifndef CONTROLS_H_
2 #define CONTROLS_H_
3
4 #include <msp/input/binarycontrol.h>
5 #include <msp/input/controlscheme.h>
6 #include <msp/input/smoothcontrol.h>
7
8 class Controls: public Msp::Input::ControlScheme
9 {
10 public:
11         Msp::Input::SmoothControl forward;
12         Msp::Input::SmoothControl turn_left;
13         Msp::Input::SmoothControl turn_right;
14         Msp::Input::BinaryControl fire;
15
16         Controls();
17 };
18
19 #endif