diff options
author | Oxore <oxore@protonmail.com> | 2018-12-06 11:09:44 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2018-12-06 11:15:59 +0300 |
commit | 14f2aadae65713192f1ef722050353c4d781f17e (patch) | |
tree | d37920436c0d07fe37601eee8965b14da9e3b519 /src/target | |
parent | 80ff7b315a6b5a9f9c62de5c6b03f52ddf099837 (diff) |
Implement "game over" state (scene)
Also rename arrKeys variable to keys.
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/tetris.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/tetris.c b/src/target/tetris.c index eab3c7d..81b2afc 100644 --- a/src/target/tetris.c +++ b/src/target/tetris.c @@ -48,6 +48,7 @@ int main() { srand(time(NULL)); game.gameTick = sfClock_create(); + game.over_wait_tick = sfClock_create(); game.putTick = sfClock_create(); game.mTick = sfClock_create(); game.repPushDown = sfClock_create(); |