diff options
Diffstat (limited to 'src/player.h')
| -rw-r--r-- | src/player.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h index 36f2d7b..96c4c29 100644 --- a/src/player.h +++ b/src/player.h @@ -3,7 +3,18 @@ #include "entity.h" +enum player_state { + Player_Idle, + Player_Air +}; + void add_player(float xpos, float ypos); void update_player(struct entity* player, float dt); +void player_handle_collision +( + struct entity* player, + struct entity* other, + enum direction collision_direction + ); #endif // PLAYER_H_ |
