Class: Bestguigui::State
- Inherits:
-
Object
- Object
- Bestguigui::State
- Defined in:
- lib/bestguigui/state.rb
Overview
Sous-classe pour chaque écran (menu, jeu, game over...).
Instance Attribute Summary collapse
-
#app ⇒ Object
Returns the value of attribute app.
Instance Method Summary collapse
- #button_down(id) ⇒ Object
- #button_up(id) ⇒ Object
- #draw ⇒ Object
- #enter ⇒ Object
- #exit ⇒ Object
- #update(dt) ⇒ Object
Instance Attribute Details
#app ⇒ Object
Returns the value of attribute app.
4 5 6 |
# File 'lib/bestguigui/state.rb', line 4 def app @app end |
Instance Method Details
#button_down(id) ⇒ Object
10 |
# File 'lib/bestguigui/state.rb', line 10 def (id); end |
#button_up(id) ⇒ Object
11 |
# File 'lib/bestguigui/state.rb', line 11 def (id); end |
#draw ⇒ Object
9 |
# File 'lib/bestguigui/state.rb', line 9 def draw; end |
#enter ⇒ Object
6 |
# File 'lib/bestguigui/state.rb', line 6 def enter; end |
#exit ⇒ Object
7 |
# File 'lib/bestguigui/state.rb', line 7 def exit; end |
#update(dt) ⇒ Object
8 |
# File 'lib/bestguigui/state.rb', line 8 def update(dt); end |