Extracted JokerObject and CardObject common functionalities to SpriteObject, removing duplicate code and dangerous casts.

This commit is contained in:
MeirGavish
2025-07-27 01:13:57 +03:00
parent 942a954d00
commit 95565862b0
9 changed files with 330 additions and 218 deletions
-2
View File
@@ -50,8 +50,6 @@ typedef struct
int bottom;
} Rect;
#define UNDEFINED -1
/* Gets the screenblock tile for the given coordinates (x, y).
* x and y are in number of tiles.
* Returns the screenblock tile.