Prechádzať zdrojové kódy

added ActiveCellEntity

Samir Naik 22 rokov pred
rodič
commit
8aa7bf4897
1 zmenil súbory, kde vykonal 9 pridanie a 0 odobranie
  1. 9 0
      direct/src/level/EntityTypes.py

+ 9 - 0
direct/src/level/EntityTypes.py

@@ -9,6 +9,15 @@ class Entity:
         ('comment', ''),
         )
 
+
+class ActiveCell(Entity):
+    type = 'activeCell'
+    attribs = (
+        ('row', 0),
+        ('col', 0),
+        ('gridId', None)
+        )
+    
 class LevelMgr(Entity):
     type = 'levelMgr'
     attribs = (