Logo Search packages:      
Sourcecode: balazar3 version File versions  Download package

def balazar3-0.1::tofu::Player::add_mobile (   self,
  mobile 
)

Player.add_mobile(mobile)

Gives the control of MOBILE to the Player.

Definition at line 936 of file __init__.py.

00936                               :
    """Player.add_mobile(mobile)

Gives the control of MOBILE to the Player."""
    if not mobile.level: raise ValueError("You must set mobile.level to the level the mobile is, before calling Player.add_mobile!")
    mobile.player_name = self.filename
    mobile.local       = 0
    mobile.bot         = 0
    self.mobiles.append(mobile)
    
  @side("single", "server")
  def remove_mobile(self, mobile):


Generated by  Doxygen 1.6.0   Back to index