Browse Source

Minor comment update

pull/1/head
Ryan Reed 1 year ago
parent
commit
229c239605
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      world.gd

+ 1
- 0
world.gd View File

@ -87,6 +87,7 @@ func start_conway() -> void:
## Check a cell against the Conway rules and return True if cell shoudl be alive
## The logic in this could be cleaned up pretty easily. Only verbose for understanding.
func cell_is_alive(pos: Vector2) -> bool:
var neighbors := count_living_neighbors(pos)
var currently_alive = world[pos.x][pos.y] is RID


Loading…
Cancel
Save