fix rent calculation

This commit is contained in:
Adolfo Reyna
2026-01-31 22:23:49 -05:00
parent fa4c6f00ca
commit 78b376ad5d
9 changed files with 276 additions and 77 deletions

View File

@@ -28,6 +28,13 @@ class InputManager;
*/
class Game {
public:
enum class Type {
BASE,
MONOPOLY_DICE,
MONOPOLY_PROPERTY,
MONOPOLY_BOARD
};
/**
* @brief Construct a new Game
* @param width Display width in pixels
@@ -83,6 +90,11 @@ public:
*/
virtual bool wants_to_exit() const { return false; }
/**
* @brief Get the type of game for safe downcasting without RTTI
*/
virtual Type get_type() const { return Type::BASE; }
protected:
// Display dimensions
uint16_t width;