Class: NewGame
- Inherits:
-
Object
- Object
- NewGame
- Defined in:
- lib/destiny.rb
Instance Attribute Summary collapse
-
#char_name ⇒ Object
Not using this right now.
-
#save_slot ⇒ Object
Not using this right now.
Instance Method Summary collapse
-
#initialize(new_game) ⇒ NewGame
constructor
A new instance of NewGame.
Constructor Details
#initialize(new_game) ⇒ NewGame
Returns a new instance of NewGame.
92 93 94 |
# File 'lib/destiny.rb', line 92 def initialize new_game @new_game = new_game end |
Instance Attribute Details
#char_name ⇒ Object
Not using this right now. Later, I hope to support multiple characters and then I will move the newgame stuff into here. Need a save file with multiple lines support first
90 91 92 |
# File 'lib/destiny.rb', line 90 def char_name @char_name end |
#save_slot ⇒ Object
Not using this right now. Later, I hope to support multiple characters and then I will move the newgame stuff into here. Need a save file with multiple lines support first
90 91 92 |
# File 'lib/destiny.rb', line 90 def save_slot @save_slot end |