Package horizons :: Module manager :: Class MPCommandsManager
[hide private]
[frames] | no frames]

Class MPCommandsManager

source code

MPPacketmanager --+

Instance Methods [hide private]
    Inherited from MPPacketmanager
__init__(self, mpmanager) source code
add_packet(self, command_packet)
Receive a packet
source code
get_packets_for_tick(self, tick, remove_returned_commands=True)
Returns packets that are to be executed at a certain tick
source code
get_packets_from_player(self, player_id)
Returns all command this player has issued, that are not yet executed
source code
is_tick_ready(self, tick)
Check if packets from all players have arrived (necessary for tick to begin)
source code
Class Variables [hide private]
    Inherited from MPPacketmanager
  log = logging.getLogger("mpmanager")