ELEC2645 (2018/19) / Mbed 2 deprecated el17dg

Dependencies:   mbed

Fork of el17dg by Dmitrijs Griskovs

Committer:
Noximilien
Date:
Tue Apr 02 15:38:40 2019 +0000
Revision:
24:0570cb4b92d7
Parent:
23:240bc00ef25b
Child:
25:749f1efc31fc
I have created and finished a tutorial file where is described what controls need to be used and what to do in the game. I have broken up my into code into several functions to improve efficiency. I have started working on my settings mode.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Noximilien 3:10918b0f7a7d 1 #ifndef GAME_H
Noximilien 3:10918b0f7a7d 2 #define GAME_H
Noximilien 3:10918b0f7a7d 3
Noximilien 21:0eb394495b8a 4 #include "geometry.h"
Noximilien 21:0eb394495b8a 5
Noximilien 24:0570cb4b92d7 6
Noximilien 4:02c63aaa2df9 7 class Game{
Noximilien 4:02c63aaa2df9 8 public:
Noximilien 4:02c63aaa2df9 9 bool updateAndDraw();
Noximilien 21:0eb394495b8a 10 void startNewGame();
Noximilien 4:02c63aaa2df9 11 private:
Noximilien 21:0eb394495b8a 12 void collideEnemiesAndBlasts();
Noximilien 21:0eb394495b8a 13 void collideEnemiesBlastsAndPlayer();
Noximilien 23:240bc00ef25b 14 void collideEnemiesAndPlayer();
Noximilien 23:240bc00ef25b 15 void gameOver();
Noximilien 3:10918b0f7a7d 16 };
Noximilien 3:10918b0f7a7d 17
Noximilien 3:10918b0f7a7d 18
Noximilien 3:10918b0f7a7d 19 #endif