26 lines
281 B
C
26 lines
281 B
C
#include <stdbool.h>
|
|
|
|
#ifndef GAME_H
|
|
#define GAME_H
|
|
|
|
void initGame();
|
|
|
|
bool isRunning();
|
|
|
|
void updateGame();
|
|
|
|
void drawGame();
|
|
|
|
void handleInput(char ch);
|
|
|
|
// Overlays
|
|
// Draws cursor and cursor position
|
|
void drawLastPressed(char ch);
|
|
|
|
void drawCurPos();
|
|
|
|
bool endgame();
|
|
|
|
#endif
|
|
|