Class: RPG::Troop::Page
- Inherits:
 - 
      Object
      
        
- Object
 - RPG::Troop::Page
 
 - Defined in:
 - lib/rpg/troop/page.rb,
lib/rpg/troop/page/condition.rb 
Defined Under Namespace
Classes: Condition
Instance Attribute Summary (collapse)
- 
  
    
      - (Object) condition 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute condition.
 - 
  
    
      - (Object) list 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute list.
 - 
  
    
      - (Object) span 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute span.
 
Instance Method Summary (collapse)
- 
  
    
      - (Page) initialize 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Page.
 
Constructor Details
- (Page) initialize
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
- (Object) condition
Returns the value of attribute condition
      9 10 11  | 
    
      # File 'lib/rpg/troop/page.rb', line 9 def condition @condition end  | 
  
- (Object) list
Returns the value of attribute list
      11 12 13  | 
    
      # File 'lib/rpg/troop/page.rb', line 11 def list @list end  | 
  
- (Object) span
Returns the value of attribute span
      10 11 12  | 
    
      # File 'lib/rpg/troop/page.rb', line 10 def span @span end  |