Class: RPG::Event::Page::Condition

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCondition

Returns a new instance of Condition.



562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
# File 'lib/R3EXS/RGSS3.rb', line 562

def initialize
    @switch1_valid     = false
    @switch2_valid     = false
    @variable_valid    = false
    @self_switch_valid = false
    @item_valid        = false
    @actor_valid       = false
    @switch1_id        = 1
    @switch2_id        = 1
    @variable_id       = 1
    @variable_value    = 0
    @self_switch_ch    = 'A'
    @item_id           = 1
    @actor_id          = 1
end

Instance Attribute Details

#actor_idObject

Returns the value of attribute actor_id.



590
591
592
# File 'lib/R3EXS/RGSS3.rb', line 590

def actor_id
  @actor_id
end

#actor_validObject

Returns the value of attribute actor_valid.



583
584
585
# File 'lib/R3EXS/RGSS3.rb', line 583

def actor_valid
  @actor_valid
end

#item_idObject

Returns the value of attribute item_id.



589
590
591
# File 'lib/R3EXS/RGSS3.rb', line 589

def item_id
  @item_id
end

#item_validObject

Returns the value of attribute item_valid.



582
583
584
# File 'lib/R3EXS/RGSS3.rb', line 582

def item_valid
  @item_valid
end

#self_switch_chObject

Returns the value of attribute self_switch_ch.



588
589
590
# File 'lib/R3EXS/RGSS3.rb', line 588

def self_switch_ch
  @self_switch_ch
end

#self_switch_validObject

Returns the value of attribute self_switch_valid.



581
582
583
# File 'lib/R3EXS/RGSS3.rb', line 581

def self_switch_valid
  @self_switch_valid
end

#switch1_idObject

Returns the value of attribute switch1_id.



584
585
586
# File 'lib/R3EXS/RGSS3.rb', line 584

def switch1_id
  @switch1_id
end

#switch1_validObject

Returns the value of attribute switch1_valid.



578
579
580
# File 'lib/R3EXS/RGSS3.rb', line 578

def switch1_valid
  @switch1_valid
end

#switch2_idObject

Returns the value of attribute switch2_id.



585
586
587
# File 'lib/R3EXS/RGSS3.rb', line 585

def switch2_id
  @switch2_id
end

#switch2_validObject

Returns the value of attribute switch2_valid.



579
580
581
# File 'lib/R3EXS/RGSS3.rb', line 579

def switch2_valid
  @switch2_valid
end

#variable_idObject

Returns the value of attribute variable_id.



586
587
588
# File 'lib/R3EXS/RGSS3.rb', line 586

def variable_id
  @variable_id
end

#variable_validObject

Returns the value of attribute variable_valid.



580
581
582
# File 'lib/R3EXS/RGSS3.rb', line 580

def variable_valid
  @variable_valid
end

#variable_valueObject

Returns the value of attribute variable_value.



587
588
589
# File 'lib/R3EXS/RGSS3.rb', line 587

def variable_value
  @variable_value
end