Mario: enable death from bounce for Goomba

This commit is contained in:
2023-04-08 19:43:36 +02:00
parent b175e58714
commit d41c77ab96
3 changed files with 14 additions and 1 deletions
+4
View File
@@ -51,6 +51,9 @@ public:
double getValidXPos() const {
return validXPos;
}
bool shouldBounce() {
return bounce;
}
private:
bool onGround = false;
@@ -58,6 +61,7 @@ private:
uint64_t _type{};
bool death = false;
bool instant_death = false;
bool bounce = false;
uint64_t from = -1;
bool left = false;
bool right = false;