Class: RPG::Troop::Page

Inherits:
Object
  • Object
show all
Defined in:
lib/rpg/troop/page.rb,
lib/rpg/troop/page/condition.rb

Defined Under Namespace

Classes: Condition

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePage

Returns a new instance of Page.



4
5
6
7
8
# File 'lib/rpg/troop/page.rb', line 4

def initialize
  @condition = RPG::Troop::Page::Condition.new
  @span = 0
  @list = [RPG::EventCommand.new]
end

Instance Attribute Details

#conditionObject

Returns the value of attribute condition.



9
10
11
# File 'lib/rpg/troop/page.rb', line 9

def condition
  @condition
end

#listObject

Returns the value of attribute list.



11
12
13
# File 'lib/rpg/troop/page.rb', line 11

def list
  @list
end

#spanObject

Returns the value of attribute span.



10
11
12
# File 'lib/rpg/troop/page.rb', line 10

def span
  @span
end