added LevelMgr

This commit is contained in:
Darren Ranalli 2003-09-15 21:06:14 +00:00
parent 80d1520092
commit f196aaf0fe
2 changed files with 22 additions and 0 deletions

13
direct/src/level/LevelMgr.py Executable file
View File

@ -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

9
direct/src/level/LevelMgrAI.py Executable file
View File

@ -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()