Tinman  1.0
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
server.AuthoritativeServer Class Reference
Inheritance diagram for server.AuthoritativeServer:
Inheritance graph
[legend]
Collaboration diagram for server.AuthoritativeServer:
Collaboration graph
[legend]

Public Member Functions

def notify (self, snapshot, current)
 
def send_to_other_peers (self, car_info, snapshot)
 
def login_async
 
def start_game (self)
 
def startRace_async
 
def start_new_race (self)
 
def disconnect (self, player_id, current)
 

Public Attributes

 next_race
 

Static Public Attributes

list peers = []
 
int n_players = 0
 
list next_race = []
 
int NUMBER_PLAYERS = 2
 

Member Function Documentation

def server.AuthoritativeServer.disconnect (   self,
  player_id,
  current 
)
def server.AuthoritativeServer.login_async (   self,
  cb,
  nickname,
  proxy,
  current = None 
)
def server.AuthoritativeServer.notify (   self,
  snapshot,
  current 
)
def server.AuthoritativeServer.send_to_other_peers (   self,
  car_info,
  snapshot 
)
def server.AuthoritativeServer.start_game (   self)
def server.AuthoritativeServer.start_new_race (   self)
def server.AuthoritativeServer.startRace_async (   self,
  cb,
  nickname,
  current = None 
)

Member Data Documentation

int server.AuthoritativeServer.n_players = 0
static
list server.AuthoritativeServer.next_race = []
static
server.AuthoritativeServer.next_race
int server.AuthoritativeServer.NUMBER_PLAYERS = 2
static
list server.AuthoritativeServer.peers = []
static

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