summaryrefslogtreecommitdiffstats
path: root/src/player.h
blob: e78cbdc122bd3c1d7cab966ede54f22a46850b7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef PLAYER_H
#define PLAYER_H

#include "paddle.h"

struct player {
	char score;
	struct paddle paddle_h;
	struct paddle paddle_v;
};

struct player *new_player(void);
void free_player(struct player *p);

#endif