Browse Source

Comment update

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

+ 2
- 2
world.gd View File

@ -37,7 +37,7 @@ func _ready() -> void:
generate_world()
# Center the camea on the world
# Center the camera on the world
camera.position.x = world_size.x * cell_size.x / 2
camera.position.y = world_size.y * cell_size.y / 2
@ -122,7 +122,7 @@ func kill_cell(pos: Vector2) -> CellStates:
return CellStates.DEAD
## Generate the world with the initial cells
## Generate the world with cells in random states (alive or dead)
func generate_world() -> void:
for x in range(world_size.x):
world.append([])


Loading…
Cancel
Save