summaryrefslogtreecommitdiffhomepage
path: root/components/03_player_control.rb
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2021-06-12 03:15:59 -0400
committerrealtradam <[email protected]>2021-06-12 03:15:59 -0400
commit795cb85e284d6adc83d8a8770e1e2406322f4034 (patch)
tree1fe065f7f5ecfaf9bc34638cc5a5dd7fe848eb3e /components/03_player_control.rb
parent6e9ff64fec30779eb894a617af95ce7815e3d1ca (diff)
downloadFelECS-795cb85e284d6adc83d8a8770e1e2406322f4034.tar.gz
FelECS-795cb85e284d6adc83d8a8770e1e2406322f4034.zip
file cleanup
Diffstat (limited to 'components/03_player_control.rb')
-rw-r--r--components/03_player_control.rb26
1 files changed, 0 insertions, 26 deletions
diff --git a/components/03_player_control.rb b/components/03_player_control.rb
deleted file mode 100644
index f48b155..0000000
--- a/components/03_player_control.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-
-FelFlame::Components.new :PlayerControl, north: 'up', south: 'down', east: 'right',
- west: 'left', interact: 'space', menu: 'enter'
-=begin
-class Components
- # Gives control(keyboard or otherwise) over an object
- class PlayerControl < Helper::BaseComponent
- attr_accessor :north, :south, :east, :west, :interact, :menu
-
- def initialize
- @north = 'up'
- @south = 'down'
- @east = 'right'
- @west = 'left'
- @interact = 'space'
- @menu = 'enter'
- end
-
- def set(**opts)
- opts.each do |key, value|
- send "#{key}=", value
- end
- end
- end
-end
-=end