Initial publish

Dependencies:   mbed

Fork of el17dg by Dmitrijs Griskovs

game/game.h

Committer:
Noximilien
Date:
2019-04-03
Revision:
25:749f1efc31fc
Parent:
24:0570cb4b92d7
Child:
26:676874c42883

File content as of revision 25:749f1efc31fc:

#ifndef GAME_H
#define GAME_H

#include "geometry.h"
extern int game_score;
extern int game_score;
extern int player_lifes;
extern bool red_led_state;
extern int red_led_flashing;

class Game{
public:
    bool updateAndDraw();  
    void startNewGame();
private:
    void collideEnemiesAndBlasts();
    void collideEnemiesBlastsAndPlayer();
    void collideEnemiesAndPlayer();
    void gameOver();
};


#endif