Class: NewGame

Inherits:
Object
  • Object
show all
Defined in:
lib/destiny.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject

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_slotObject

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