diff options
| author | realtradam <[email protected]> | 2021-12-26 22:10:21 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2021-12-26 22:10:21 -0500 |
| commit | 41da3e4ad9d938e488f268b2d30d1867ac2ab943 (patch) | |
| tree | 2b3713b016dc4eb8b6c2a4002816e5e45dd8b817 /app/systems/start_game.rb | |
| parent | 5f8a4b6b17d6ada0097412b13605717dd5a310df (diff) | |
| download | SteelWings-41da3e4ad9d938e488f268b2d30d1867ac2ab943.tar.gz SteelWings-41da3e4ad9d938e488f268b2d30d1867ac2ab943.zip | |
more optimizations
Diffstat (limited to 'app/systems/start_game.rb')
| -rw-r--r-- | app/systems/start_game.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/systems/start_game.rb b/app/systems/start_game.rb index 9efbf14..a936c21 100644 --- a/app/systems/start_game.rb +++ b/app/systems/start_game.rb @@ -28,7 +28,7 @@ FF::Sys.new('StartGame', priority: 50 ) do FF::Cmp::Boid.new(h: 1920 * 2, w: 1920 * 2) ) posneg = [1,-1] - 20.times do |pos| + 16.times do |pos| Factory::SampleEnemy.new(x: position_range.sample * posneg.sample, y: position_range.sample * posneg.sample) end |
