diff options
Diffstat (limited to '08-august/src/player.h')
| -rw-r--r-- | 08-august/src/player.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/08-august/src/player.h b/08-august/src/player.h new file mode 100644 index 0000000..654dc17 --- /dev/null +++ b/08-august/src/player.h @@ -0,0 +1,17 @@ +#ifndef PLAYER_H +#define PLAYER_H + +#include "renderer/entity.h" +#include "math/vector3f.h" +#include "terrain.h" + +typedef struct +{ + entity_t entity; + float speed, turnSpeed, verticalSpeed; +} player_t; + +extern void Player_Init(player_t* player); +extern void Player_Update(player_t* player, terrain_t *terrain); + +#endif // PLAYER_H |
