-
Notifications
You must be signed in to change notification settings - Fork 1
/
OxsyCommandsList.h
57 lines (42 loc) · 1.3 KB
/
OxsyCommandsList.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
50
51
52
53
54
55
56
57
#ifndef __COMMANDSLIST_H__
#define __COMMANDSLIST_H__
class COxsyClassPointers;
class COxsyCommandsList
{
public:
COxsyCommandsList(COxsyClassPointers *pClassPointers);
virtual ~COxsyCommandsList();
// members functions
void init_commands_counter(void);
void init_commands_list(void);
void add_command(int time, CommandName commandName, double p1, double p2);
int Catch(double dir);
int Dash(double power);
int Kick(double power, double dir);
int Move(double x, double y);
int Tackle(double power);
int Turn(double dir);
int Attention_To_Off(void);
int Attention_To(char *team, int unum);
int Change_View(ViewWidth width, ViewQuality quality);
int Ear(char *mode, char *team = "", char *type = "");
int Point_To_Off(void);
int Point_To(double dist, double dir);
int Say(char *message);
int Sense_Body(void);
int Score(void);
int Turn_Neck(double dir);
int Bye(void);
int Compression(int level);
InitInfo Init(char *teamname, double version, bool goalie);
InitInfo Reconnect(char *teamname, int unum);
int Eye(bool onp);
int Look(void);
protected:
// members variables
COxsyClassPointers *m_pClassPointers;
Command m_Command[COMMANDS_LIST_SIZE];
CommandsCounter m_CommandsCounter;
int m_nIndex;
};
#endif // __COMMANDSLIST_H__