Added animations for spawning of a new tile

This commit is contained in:
2026-03-08 00:22:45 +01:00
parent a47c6bd0b0
commit 3232e4f44f
3 changed files with 65 additions and 26 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ typedef struct {
unsigned int moves_made;
} GameState_t;
void move(GameState_t *state, move_direction_t direction);
bool move(GameState_t *state, move_direction_t direction);
void reset_board(GameState_t *state);
bool spawn_tile(GameState_t *state);
void spawn_tile(GameState_t *state, Vector2 *spawned_tile_pos);
bool can_move(GameState_t *state);