diff options
Diffstat (limited to 'src/paddle.h')
-rw-r--r-- | src/paddle.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/paddle.h b/src/paddle.h new file mode 100644 index 0000000..6845945 --- /dev/null +++ b/src/paddle.h @@ -0,0 +1,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 |