diff --git a/direct/src/level/LevelMgr.py b/direct/src/level/LevelMgr.py new file mode 100755 index 0000000000..1fcf1e4763 --- /dev/null +++ b/direct/src/level/LevelMgr.py @@ -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 diff --git a/direct/src/level/LevelMgrAI.py b/direct/src/level/LevelMgrAI.py new file mode 100755 index 0000000000..ba32ba4742 --- /dev/null +++ b/direct/src/level/LevelMgrAI.py @@ -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()