aboutsummaryrefslogtreecommitdiff
path: root/07-july/src/player.h
blob: 654dc1790148f07a99a2e9ff25300a3ec5f68aeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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