summaryrefslogtreecommitdiff
path: root/src/player.h
blob: 346b800b9e1a4b74c684a1257b513f7eea697231 (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;

	float speed;
	short is_on_floor;
} Player;

void handleMovement(Player *player);

#endif