Library containing the Game Engine
Diff: GameEngine.h
- Revision:
- 11:832eb031310b
- Parent:
- 10:df8ea4e747e2
- Child:
- 12:6eeb06ed7c6b
--- a/GameEngine.h Wed May 03 15:51:10 2017 +0000 +++ b/GameEngine.h Thu May 04 08:34:38 2017 +0000 @@ -12,14 +12,49 @@ class GameEngine { public: + /** + * + * + */ GameEngine(); + + /** + * + * + */ ~GameEngine(); - + + /** Initialise Game Engine + * + * This function + */ void init( ); + + /** Read Input + * + * This function + */ void read_input(Gamepad &pad); + + /** Update + * + * This function + */ void update(Gamepad &pad); + + /** Draw + * + * This function + */ void draw(N5110 &lcd, Gamepad &pad); + + /** Get Position + * + * This function + */ void get_pos(); + + int playerx; int playery;