summaryrefslogtreecommitdiff
path: root/inc/player.h
blob: 981ad7baf202f602aad9d61f047ec6bc8e8a69d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

void player_init(float x, float y);
void player_update(void);
void player_draw(void);

#define PLAYER_WIDTH  12
#define PLAYER_HEIGHT 12
#define PLAYER_SPEED  2
#define GRAVITY       0.69
#define MAX_Y_SPEED   5
#define JUMP_SPEED    -6