More progress.
This commit is contained in:
12
src/simulation/input.h
Normal file
12
src/simulation/input.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef SIM_GAME_INPUT_H
|
||||
#define SIM_GAME_INPUT_H
|
||||
|
||||
typedef struct {
|
||||
// Movement can probably just be one byte. For a traditional snake-game, only one directional-input is OK.
|
||||
bool up;
|
||||
bool down;
|
||||
bool right;
|
||||
bool left;
|
||||
} Simulation_Game_Input;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user