ソースを参照

LogicGate for non-AI

Dave Schuyler 22 年 前
コミット
d342525ea9
2 ファイル変更10 行追加1 行削除
  1. 2 1
      direct/src/level/EntityCreator.py
  2. 8 0
      direct/src/level/LogicGate.py

+ 2 - 1
direct/src/level/EntityCreator.py

@@ -7,6 +7,7 @@ import DirectNotifyGlobal
 import EditMgr
 import EditMgr
 import EntrancePoint
 import EntrancePoint
 import LevelMgr
 import LevelMgr
+import LogicGate
 import ZoneEntity
 import ZoneEntity
 import ModelEntity
 import ModelEntity
 import PathEntity
 import PathEntity
@@ -34,7 +35,7 @@ class EntityCreator(EntityCreatorBase.EntityCreatorBase):
             'editMgr': EditMgr.EditMgr,
             'editMgr': EditMgr.EditMgr,
             'entrancePoint': EntrancePoint.EntrancePoint,
             'entrancePoint': EntrancePoint.EntrancePoint,
             'levelMgr': LevelMgr.LevelMgr,
             'levelMgr': LevelMgr.LevelMgr,
-            'logicGate': nothing,
+            'logicGate': LogicGate.LogicGate,
             'model' : ModelEntity.ModelEntity,
             'model' : ModelEntity.ModelEntity,
             'nodepath': BasicEntities.NodePathEntity,
             'nodepath': BasicEntities.NodePathEntity,
             'path' : PathEntity.PathEntity,
             'path' : PathEntity.PathEntity,

+ 8 - 0
direct/src/level/LogicGate.py

@@ -0,0 +1,8 @@
+
+
+import LogicGateAI
+
+class LogicGate(LogicGateAI.LogicGateAI):
+    """
+    """
+    pass