summaryrefslogtreecommitdiff
path: root/src/player.h
blob: 38ae1df9c4fc15d84452780594b71641d34f949f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef PLAYER_H
#define PLAYER_H
#include <raylib.h>
#include "entity.h"

typedef struct player {
	Vector3 pos;
	Vector3 velocity;
	Camera3D camera;
	Hitbox hitbox;

	int speed;
	short is_on_floor;
} Player;

void handleMovement(Player *player);

#endif