Added: Mines now explode and hurt the player, added new makefile and made more mines spawn on game start.

This commit is contained in:
Foxar
2020-12-10 13:52:45 +01:00
parent 1c9351e5e9
commit e7aa4d13cc
5 changed files with 57 additions and 7 deletions
+1
View File
@@ -30,6 +30,7 @@ public:
void update(Pad &t_pad);
const u8 &isJumping() { return bIsJumping; }
const u8 &getLifes() { return lifes; }
void setLife(const u8 &l) { lifes = lifes = l < 4 ? l : 3; }
private:
u8 bIsJumping;