Added: Mines now explode and hurt the player, added new makefile and made more mines spawn on game start.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include "./camera.hpp"
|
||||
#include "./objects/player.hpp"
|
||||
#include "./objects/collectible.hpp"
|
||||
#include "./objects/mine.hpp"
|
||||
|
||||
class Dolphin : public Game
|
||||
{
|
||||
@@ -51,8 +52,11 @@ private:
|
||||
Mesh water;
|
||||
Mesh waterbox;
|
||||
Sprite lifeSprites[3];
|
||||
Sprite gameOver;
|
||||
audsrv_adpcm_t *underwaterAmbient, *surfaceAmbient;
|
||||
audsrv_adpcm_t *pickupSound;
|
||||
audsrv_adpcm_t *boomSound;
|
||||
Mine *mines;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user