Go to the documentation of this file.00001 '''
00002 Anoria (c) Gsk 2010
00003 '''
00004
00005 import BigWorld
00006 from Actor import Actor
00007
00008 class Mob(BigWorld.Base, Actor):
00009
00010 def __init__( self ):
00011 BigWorld.Base.__init__( self )
00012 Actor.__init__(self)
00013
00014
00015
00016
00017
00018
00019 self.createCellEntity( self.spawnerCellMb )
00020
00021 def onLoseCell( self ):
00022
00023
00024 print "Mob.onLoseCell(): %d asking Spawner id=%d to despawn self" % (self.id, self.spawnBaseId)
00025 spawner = BigWorld.entities[self.spawnBaseId]
00026 spawner.rpcNotifyDespawn(self.spawnControlId)
00027
00028 self.destroy()
00029
00030