summaryrefslogtreecommitdiffhomepage
path: root/app/lib/test.rb
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2021-05-26 02:09:12 -0400
committerrealtradam <[email protected]>2021-05-26 02:09:12 -0400
commita5bbcbf5d78005746fb64c51a779f830d7667a57 (patch)
tree34a184ff4fd182a8823f416fd87b4d546e1e250f /app/lib/test.rb
parentf97a9ca95e464e728bba9337b579bc380c33bc7d (diff)
downloadtypemon-code-rework.tar.gz
typemon-code-rework.zip
split off FelFlamerework
Diffstat (limited to 'app/lib/test.rb')
-rw-r--r--app/lib/test.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/app/lib/test.rb b/app/lib/test.rb
deleted file mode 100644
index 13fd401..0000000
--- a/app/lib/test.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-require_relative './entity_manager.rb'
-require_relative './component_manager.rb'
-require_relative './system_manager.rb'
-
-move = '0001'.to_i(2)
-base = '0010'.to_i(2)
-both = '0011'.to_i(2)
-Entity.new(move)
-Entity.new(base)
-Entity.new(both)
-
-3.times do
- Systems.constants.each do |constant|
- puts "|----#{constant.to_s.upcase}----|"
- Systems::const_get(constant).run
- end
- #ECS::Entity.destroy_entity(ECS::Entity.all.last.id) unless ECS::Entity.all.empty?
-end