summaryrefslogtreecommitdiffstats
path: root/src/paddle.h
blob: 68459456f28d8c4fc2e8d7d1b968d2c9667f950b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef PADDLE_H
#define PADDLE_H

static const char PADDLE_H_POS_START = 40;
static const char PADDLE_V_POS_START = 12;
static const char PADDLE_H_SIZE_NORMAL = 8;
static const char PADDLE_V_SIZE_NORMAL = 4;
static const char PADDLE_H_SPEED_NORMAL = 2;
static const char PADDLE_V_SPEED_NORMAL = 1;

struct paddle {
	char pos;
	char size;
	char speed;
};

#endif