Zappy - Year end project 2
This is a project that Epitech asked us to create in order to allow us to reveiw the notions of the current year.
Loading...
Searching...
No Matches
Static Public Attributes
global_variables.Commands Class Reference
Collaboration diagram for global_variables.Commands:
Collaboration graph

Static Public Attributes

int LEFT = 1
 
int LOOK = 2
 
int FORK = 3
 
int RIGHT = 4
 
int EJECT = 5
 
int EMPTY = 6
 
int FORWARD = 7
 
int INVENTORY = 8
 
int CONNECT_NBR = 9
 
int SET_OBJECT = 10
 
int TAKE_OBJECT = 11
 
int INCANTATION = 12
 
int BROADCAST_TEXT = 13
 
int OK = 14
 
int KO = 15
 
int UNKNOWN = 16
 
int WELCOME = 17
 
int CLIENT_NUMBER = 18
 
int GRAPHIC_MODE = 19
 
int DEAD = 20
 

Detailed Description

_sumary_
This is a python version of an enum.
This enum hosts a set of variables referencing the available commands for the exchange between the ai and the server

Definition at line 97 of file global_variables.py.

Field Documentation

◆ BROADCAST_TEXT

int global_variables.Commands.BROADCAST_TEXT = 13
static

Definition at line 115 of file global_variables.py.

◆ CLIENT_NUMBER

int global_variables.Commands.CLIENT_NUMBER = 18
static

Definition at line 120 of file global_variables.py.

◆ CONNECT_NBR

int global_variables.Commands.CONNECT_NBR = 9
static

Definition at line 111 of file global_variables.py.

◆ DEAD

int global_variables.Commands.DEAD = 20
static

Definition at line 122 of file global_variables.py.

◆ EJECT

int global_variables.Commands.EJECT = 5
static

Definition at line 107 of file global_variables.py.

◆ EMPTY

int global_variables.Commands.EMPTY = 6
static

Definition at line 108 of file global_variables.py.

◆ FORK

int global_variables.Commands.FORK = 3
static

Definition at line 105 of file global_variables.py.

◆ FORWARD

int global_variables.Commands.FORWARD = 7
static

Definition at line 109 of file global_variables.py.

◆ GRAPHIC_MODE

int global_variables.Commands.GRAPHIC_MODE = 19
static

Definition at line 121 of file global_variables.py.

◆ INCANTATION

int global_variables.Commands.INCANTATION = 12
static

Definition at line 114 of file global_variables.py.

◆ INVENTORY

int global_variables.Commands.INVENTORY = 8
static

Definition at line 110 of file global_variables.py.

◆ KO

int global_variables.Commands.KO = 15
static

Definition at line 117 of file global_variables.py.

◆ LEFT

int global_variables.Commands.LEFT = 1
static

Definition at line 103 of file global_variables.py.

◆ LOOK

int global_variables.Commands.LOOK = 2
static

Definition at line 104 of file global_variables.py.

◆ OK

int global_variables.Commands.OK = 14
static

Definition at line 116 of file global_variables.py.

◆ RIGHT

int global_variables.Commands.RIGHT = 4
static

Definition at line 106 of file global_variables.py.

◆ SET_OBJECT

int global_variables.Commands.SET_OBJECT = 10
static

Definition at line 112 of file global_variables.py.

◆ TAKE_OBJECT

int global_variables.Commands.TAKE_OBJECT = 11
static

Definition at line 113 of file global_variables.py.

◆ UNKNOWN

int global_variables.Commands.UNKNOWN = 16
static

Definition at line 118 of file global_variables.py.

◆ WELCOME

int global_variables.Commands.WELCOME = 17
static

Definition at line 119 of file global_variables.py.


The documentation for this class was generated from the following file: