فهرست منبع

distributedStomperPair added

Samir Naik 22 سال پیش
والد
کامیت
68176d797e
2فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 1 0
      direct/src/level/EntityCreator.py
  2. 2 1
      direct/src/level/EntityCreatorAI.py

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

@@ -19,6 +19,7 @@ EntityType2Ctor = {
     'nodepath': BasicEntities.NodePathEntity,
     'platform': PlatformEntity.PlatformEntity,
     'stomper': nothing,
+    'stomperPair': nothing,
     'switch': nothing,
 
     'andLogicObject': nothing,

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

@@ -5,7 +5,7 @@ import DistributedBeanBarrelAI
 import DistributedLiftAI
 import DistributedDoorEntityAI
 import DistributedGagBarrelAI
-#import DistributedStomperPairAI
+import DistributedStomperPairAI
 import DistributedSwitchAI
 import DistributedStomperAI
 import LogicGateAI
@@ -32,6 +32,7 @@ EntityType2Ctor = {
     'nodepath': nothing,
     'platform': nothing,
     'stomper': Functor(cDE, DistributedStomperAI.DistributedStomperAI),
+    'stomperPair': Functor(cDE, DistributedStomperPairAI.DistributedStomperPairAI),
     'switch': DistributedSwitchAI.DistributedSwitchAI,
 
     'logicGate': LogicGateAI.LogicGateAI,