examples/game_of_life.fy in fancy-0.3.0 vs examples/game_of_life.fy in fancy-0.3.1
- old
+ new
@@ -38,10 +38,10 @@
def simulate: amount_generations {
"Simulate the World for a given amount of iterations (generations)."
display: 0
amount_generations times: |i| {
- System sleep: 500 # sleep 500 ms
+ Thread sleep: 0.5 # sleep 500 ms
self simulate
display: (i + 1)
}
}