ELEC2645 (2018/19) / Mbed 2 deprecated el17dg

Dependencies:   mbed

Fork of el17dg by Dmitrijs Griskovs

game/game.h

Committer:
Noximilien
Date:
2019-03-27
Revision:
22:4dc3c95f2146
Parent:
21:0eb394495b8a
Child:
23:240bc00ef25b

File content as of revision 22:4dc3c95f2146:

#ifndef GAME_H
#define GAME_H

#include "geometry.h"

class Game{
public:
    Game();
    bool updateAndDraw();  
    void startNewGame();
private:
    void collideEnemiesAndBlasts();
    void fireNewBlast();
    void collideEnemiesBlastsAndPlayer();
    void updateAndDrawBlasts();
    void playerShipMovement();

    CircleBounds player_bounds;
    CircleBounds blast_bounds;
};


#endif