Browse Source

add comment

Bastien Sevajol 8 years ago
parent
commit
abbf82d7f3
1 changed files with 3 additions and 1 deletions
  1. 3 1
      sandbox/life_game/simulation.py

+ 3 - 1
sandbox/life_game/simulation.py View File

@@ -18,7 +18,9 @@ class CellDieBehaviour(Behaviour):
18 18
         around_count = len(data[CellProximityMechanism])
19 19
         if around_count in [2, 3]:
20 20
             return False
21
-        return True  # If we return around_count, when around_count is 0
21
+        # If we return around_count, when around_count is 0,
22
+        # cycle manager will consider as False
23
+        return True
22 24
 
23 25
     def action(self, data):
24 26
         new_empty = Empty(