-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmessages.h
49 lines (35 loc) · 839 Bytes
/
messages.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/**
Messages module header file
@team 128
@author Ambrose Ledbrook - 79172462
@author Josh Jarvis - 28803714
@date 11-oct-2018
@brief This module header provides simple methods used to display messages
to the player to the game module.
*/
// Defining inlcudes used by the module
#ifndef PADDLE_H
#define PADDLE_H
#define EASY "1"
#define MEDIUM "2"
#define HARD "3"
// Inlcuding the tinygl module used by the module
#include "tinygl.h"
#endif
/**
Showing the welcome text on the board
*/
void show_welcome(void);
/**
Showing text indicating a win on the board
*/
void show_won(void);
/**
Showing text indicating a loss on the board
*/
void show_lost(void);
/**
Displaying a passed ball speed on the ledmat
@param The index to the speed to display
*/
void show_speed(uint8_t index);