summaryrefslogtreecommitdiffhomepage
path: root/app/lib/components/03_player_control.rb
diff options
context:
space:
mode:
author_Tradam <[email protected]>2021-05-26 02:12:54 -0400
committerGitHub <[email protected]>2021-05-26 02:12:54 -0400
commit41f574c04c70e6327cb1861fac01664bd3f3f7ba (patch)
tree34a184ff4fd182a8823f416fd87b4d546e1e250f /app/lib/components/03_player_control.rb
parentf97a9ca95e464e728bba9337b579bc380c33bc7d (diff)
parenta5bbcbf5d78005746fb64c51a779f830d7667a57 (diff)
downloadtypemon-code-master.tar.gz
typemon-code-master.zip
Merge pull request #1 from realtradam/reworkHEADmaster
split off FelFlame
Diffstat (limited to 'app/lib/components/03_player_control.rb')
-rw-r--r--app/lib/components/03_player_control.rb21
1 files changed, 0 insertions, 21 deletions
diff --git a/app/lib/components/03_player_control.rb b/app/lib/components/03_player_control.rb
deleted file mode 100644
index d5d8f7a..0000000
--- a/app/lib/components/03_player_control.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-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