Class: GamePlay::NameInput
- Inherits:
-
BaseCleanUpdate::FrameBalanced
- Object
- BaseCleanUpdate::FrameBalanced
- GamePlay::NameInput
- Includes:
- NameInputMixin
- Defined in:
- docs/4_Systems_205_Input.rb
Overview
Name input scene
Direct Known Subclasses
Constant Summary collapse
- DEFAULT_HINT =
Hint shown about how to enter name
[:ext_text, 9000, 162]
- GUESSED_PHRASE =
"Use your keyboard and press ENTER" GUESSED PHRASE when not given
[:ext_text, 9000, 163]
Instance Attribute Summary
Attributes included from NameInputMixin
Instance Method Summary collapse
-
#initialize(default_name, max_length, character = nil, phrase: nil) ⇒ NameInput
constructor
"How would you name %
s?" Create a new NameInput scene. -
#main ⇒ self
Make main return self for compatibility.
-
#update_graphics
Update the graphics of the scene.
-
#update_inputs ⇒ Boolean
Update the inputs of the scene.
Constructor Details
#initialize(default_name, max_length, character = nil, phrase: nil) ⇒ NameInput
"How would you name %
161 162 |
# File 'docs/4_Systems_205_Input.rb', line 161 def initialize(default_name, max_length, character = nil, phrase: nil) end |
Instance Method Details
#main ⇒ self
Make main return self for compatibility
172 173 |
# File 'docs/4_Systems_205_Input.rb', line 172 def main end |
#update_graphics
Update the graphics of the scene
168 169 |
# File 'docs/4_Systems_205_Input.rb', line 168 def update_graphics end |
#update_inputs ⇒ Boolean
Update the inputs of the scene
165 166 |
# File 'docs/4_Systems_205_Input.rb', line 165 def update_inputs end |