Class: RPG::Troop::Page
- Inherits:
-
Object
- Object
- RPG::Troop::Page
- Defined in:
- lib/rpg/troop.rb
Overview
Data class for battle events (pages).
Defined Under Namespace
Classes: Condition
Instance Attribute Summary collapse
-
#condition ⇒ Object
Condition (Condition).
-
#list ⇒ Object
Program contents.
-
#span ⇒ Object
- Span: 0
- battle 1
- turn 2
-
moment.
Instance Method Summary collapse
-
#initialize ⇒ Page
constructor
A new instance of Page.
Constructor Details
Instance Attribute Details
#condition ⇒ Object
Condition (Condition).
62 63 64 |
# File 'lib/rpg/troop.rb', line 62 def condition @condition end |
#list ⇒ Object
Program contents. An EventCommand array.
72 73 74 |
# File 'lib/rpg/troop.rb', line 72 def list @list end |
#span ⇒ Object
Span:
- 0
-
battle
- 1
-
turn
- 2
-
moment
68 69 70 |
# File 'lib/rpg/troop.rb', line 68 def span @span end |