added LevelMgr
This commit is contained in:
parent
80d1520092
commit
f196aaf0fe
|
|
@ -0,0 +1,13 @@
|
|||
"""LevelMgr module: contains the LevelMgr class"""
|
||||
|
||||
import Entity
|
||||
|
||||
class LevelMgr(Entity.Entity):
|
||||
"""This class manages editable client-side level attributes"""
|
||||
def __init__(self, level, entId):
|
||||
Entity.Entity.__init__(self, level, entId)
|
||||
self.initializeEntity()
|
||||
self.callSetters('modelFilename')
|
||||
|
||||
def setModelFilename(self, modelFilename):
|
||||
self.level.modelFilename = modelFilename
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
"""LevelMgrAI module: contains the LevelMgrAI class"""
|
||||
|
||||
import Entity
|
||||
|
||||
class LevelMgrAI(Entity.Entity):
|
||||
"""This class manages editable AI level attributes"""
|
||||
def __init__(self, level, entId):
|
||||
Entity.Entity.__init__(self, level, entId)
|
||||
self.initializeEntity()
|
||||
Loading…
Reference in New Issue