瀏覽代碼

added PlatformEntity

Darren Ranalli 22 年之前
父節點
當前提交
b1d04596d1
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      direct/src/level/EntityCreator.py

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

@@ -1,7 +1,7 @@
 """EntityCreator.py: contains methods for creation of Entities"""
 """EntityCreator.py: contains methods for creation of Entities"""
 
 
 from PythonUtil import Functor
 from PythonUtil import Functor
-#import PlatformEntity
+import PlatformEntity
 import BasicEntities
 import BasicEntities
 
 
 def nothing(level, entId):
 def nothing(level, entId):
@@ -17,7 +17,7 @@ EntityType2Ctor = {
     'gagBarrel': nothing,
     'gagBarrel': nothing,
     'lift': nothing,
     'lift': nothing,
     'nodepath': BasicEntities.NodePathEntity,
     'nodepath': BasicEntities.NodePathEntity,
-    #'platform': PlatformEntity.PlatformEntity,
+    'platform': PlatformEntity.PlatformEntity,
     'stomper': nothing,
     'stomper': nothing,
     'switch': nothing,
     'switch': nothing,