Go to the documentation of this file.00001 '''
00002 Anoria (c) Gsk 2010
00003 '''
00004
00005 import BigWorld
00006
00007
00008 class Corpse(BigWorld.Base):
00009
00010 def __init__( self ):
00011 BigWorld.Base.__init__( self )
00012
00013
00014
00015
00016
00017 print "Corpse.__init__(): creating CellEntity"
00018 self.createCellEntity(self.spawnerCellMb)
00019
00020 def onLoseCell( self ):
00021
00022
00023 print "Corpse.onLoseCell(): %d asking Spawner to despawn self" % (self.id)
00024
00025 self.destroy()
00026
00027
00028 def rpcDespawn(self):
00029 self.destroyCellEntity()