Пример #1
0
 def __init__(self):
     GameMessage.__init__(self, M_REQUEST_PLAYER_OID)
     return
Пример #2
0
 def __init__(self):
     GameMessage.__init__(self, M_FIRE_MISSILE)
     return
Пример #3
0
 def __init__(self, oid=-1):
     GameMessage.__init__(self, M_PLAYER_OID)
     self.set_oid(oid)
     return
Пример #4
0
 def __init__(self, npc=None):
     GameMessage.__init__(self, M_NPC_UPDATE)
     if npc:
         npc.set_message(self)
     return
Пример #5
0
 def __init__(self):
     GameMessage.__init__(self, M_FIRE_MISSILE)
     return
Пример #6
0
 def __init__(self, mrange=T_RANGE_SHORT):
     GameMessage.__init__(self, M_SET_MISSILE_RANGE)
     self.set_range(mrange)
     return
Пример #7
0
 def __init__(self, player=None):
     GameMessage.__init__(self, M_PLAYER_UPDATE)
     if player:
         player.set_message(self)
     return
 def __init__(self, event=None):
     GameMessage.__init__(self, M_MISSILE_DYING_EVENT)
     if event:
         event.set_message(self)
     return
Пример #9
0
 def __init__(self, player=None):
     GameMessage.__init__(self, M_PLAYER_UPDATE)
     if player:
         player.set_message(self)
     return
Пример #10
0
 def __init__(self, mrange=T_RANGE_SHORT):
     GameMessage.__init__(self, M_SET_MISSILE_RANGE)
     self.set_range(mrange)
     return
Пример #11
0
 def __init__(self, degrees=0.):
     GameMessage.__init__(self, M_SET_MISSILE_DIRECTION)
     self.set_degrees(degrees)
     return
Пример #12
0
 def __init__(self, speed=T_SPEED_STOP):
     GameMessage.__init__(self, M_SET_PLAYER_SPEED)
     self.set_speed(speed)
     return
Пример #13
0
 def __init__(self):
     GameMessage.__init__(self, M_REQUEST_PLAYER_OID)
     return
Пример #14
0
 def __init__(self, oid=-1):
     GameMessage.__init__(self, M_PLAYER_OID)
     self.set_oid(oid)
     return
Пример #15
0
 def __init__(self, speed=T_SPEED_STOP):
     GameMessage.__init__(self, M_SET_PLAYER_SPEED)
     self.set_speed(speed)
     return
Пример #16
0
 def __init__(self, wall=None):
     GameMessage.__init__(self, M_WALL_UPDATE)
     if wall:
         wall.set_message(self)
     return
Пример #17
0
 def __init__(self, degrees=0.):
     GameMessage.__init__(self, M_SET_PLAYER_DIRECTION)
     self.set_degrees(degrees)
     return
Пример #18
0
 def __init__(self, npc=None):
     GameMessage.__init__(self, M_NPC_UPDATE)
     if npc:
         npc.set_message(self)
     return
Пример #19
0
 def __init__(self, event=None):
     GameMessage.__init__(self, M_MISSILE_DYING_EVENT)
     if event:
         event.set_message(self)
     return
Пример #20
0
 def __init__(self, missile=None):
     GameMessage.__init__(self, M_MISSILE_UPDATE)
     if missile:
         missile.set_message(self)
     return
Пример #21
0
 def __init__(self, wall=None):
     GameMessage.__init__(self, M_WALL_UPDATE)
     if wall:
         wall.set_message(self)
     return
Пример #22
0
 def __init__(self, power=T_POWER_LOW):
     GameMessage.__init__(self, M_SET_MISSILE_POWER)
     self.set_power(power)
     return
Пример #23
0
 def __init__(self, missile=None):
     GameMessage.__init__(self, M_MISSILE_UPDATE)
     if missile:
         missile.set_message(self)
     return
Пример #24
0
 def __init__(self, power=T_POWER_LOW):
     GameMessage.__init__(self, M_SET_MISSILE_POWER)
     self.set_power(power)
     return