Migrated overlay/input handling functions to game(.h/.c).

This commit is contained in:
Sheldon Lee
2020-06-24 02:51:30 +01:00
parent fa9c61cb89
commit 7b3fee4b4f
3 changed files with 79 additions and 47 deletions
+18
View File
@@ -0,0 +1,18 @@
#include <stdbool.h>
#ifndef GAME_H
#define GAME_H
void initGame();
bool isRunning();
void handleInput(char ch);
// Overlay
// Draws cursor and cursor position
void showCurPos();
bool endgame();
#endif