summaryrefslogtreecommitdiffhomepage
path: root/app/systems
diff options
context:
space:
mode:
authorarngo <[email protected]>2021-12-23 01:23:43 -0500
committerarngo <[email protected]>2021-12-23 01:23:43 -0500
commit18f869d18fac469e44f9a6a4772494a262c1b0cb (patch)
treecee0fc5632c1087e654da3ffcc40392584396594 /app/systems
parent8116ce1f56aaf5344596ca16177c7abff11b1496 (diff)
downloadSteelWings-18f869d18fac469e44f9a6a4772494a262c1b0cb.tar.gz
SteelWings-18f869d18fac469e44f9a6a4772494a262c1b0cb.zip
remove print statements
Diffstat (limited to 'app/systems')
-rw-r--r--app/systems/ai/rejoin.rb2
-rw-r--r--app/systems/ai/scatter.rb2
-rw-r--r--app/systems/ai/target_player.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/systems/ai/rejoin.rb b/app/systems/ai/rejoin.rb
index 51137f9..606a0be 100644
--- a/app/systems/ai/rejoin.rb
+++ b/app/systems/ai/rejoin.rb
@@ -1,6 +1,6 @@
FF::Sys.new("Rejoin", priority: 40) do
FF::Cmp::BoidsSeparation.each do |sep|
- puts 'add align/cohesion'.upcase
+ #puts 'add align/cohesion'.upcase
sep.distance = 150
alignment_mgr = sep.entities[0].components[FF::Cmp::BoidsAlignment]
cohesion_mgr = sep.entities[0].components[FF::Cmp::BoidsCohesion]
diff --git a/app/systems/ai/scatter.rb b/app/systems/ai/scatter.rb
index 9b93c73..1469fd9 100644
--- a/app/systems/ai/scatter.rb
+++ b/app/systems/ai/scatter.rb
@@ -1,7 +1,7 @@
FF::Sys.new("Scatter", priority: 40) do
FF::Cmp::BoidsSeparation.each do |sep|
sep.distance = 200
- puts 'remove align/cohesion/follow'.upcase
+ #puts 'remove align/cohesion/follow'.upcase
alignment_mgr = sep.entities[0].components[FF::Cmp::BoidsAlignment]
cohesion_mgr = sep.entities[0].components[FF::Cmp::BoidsCohesion]
follow_mgr = sep.entities[0].components[FF::Cmp::Follow]
diff --git a/app/systems/ai/target_player.rb b/app/systems/ai/target_player.rb
index c72ffb4..8e715eb 100644
--- a/app/systems/ai/target_player.rb
+++ b/app/systems/ai/target_player.rb
@@ -1,6 +1,6 @@
FF::Sys.new("TargetPlayer", priority: 40) do
FF::Cmp::BoidsSeparation.each do |sep|
- puts 'target player'.upcase
+ #puts 'target player'.upcase
sep.distance = 200
follow_mgr = sep.entities[0].components[FF::Cmp::Follow]
player_boid = FF::Cmp::SingletonPlayer[0].entities[0].components[FF::Cmp::Boid][0]