feat: Ways to die on floor and collision. Added score to bird

This commit is contained in:
DarthMooMancer
2025-09-04 19:54:29 -04:00
parent a7b1ebb9c5
commit dba8c6e126
2 changed files with 10 additions and 2 deletions
+2 -1
View File
@@ -13,9 +13,10 @@ struct Point {
};
struct Bird {
Bird() : m_fly(false) {};
Bird() : m_fly(false), m_score(0) {};
Point m_body { (ROW/2), 4, '*' };
bool m_fly;
int m_score;
void move();
void check_collision();
};