BKICK Team Null (Python version)
|
Communicate with server at the beginning of a turn. More...
Public Member Functions | |
def | __init__ (self, connection, verbose) |
Constructor for the class. More... | |
def | DoBlock (self) |
Carry out the actual block. | |
![]() | |
def | __init__ (self, connection, verbose) |
Basic constructor for a communication block. More... | |
def | HandleBlockEnd (self, blockName, msg) |
Check if a block has ended properly, otherwise display error and exit. More... | |
def | HandleEndBlockError (self, blockName) |
Routine to handle errors which may be returned by the server at the end of a block. More... | |
def | ReadAndCheck (self, expectedMessage) |
Read a messsage from the server and check whether it conforms with the expected message. More... | |
Additional Inherited Members | |
![]() | |
connection | |
verbose | |
Communicate with server at the beginning of a turn.
Server communicates positions of all players as well as position and velocity of the ball.
Server also communicates the starting event of type tStartEvent.
def CommBlock.CommBlockTurnStart.__init__ | ( | self, | |
connection, | |||
verbose | |||
) |
Constructor for the class.
connection | Passed on to CommBlock |
verbose | Passed on to CommBlock |