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.



540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'lib/R3EXS/RGSS3.rb', line 540

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.



568
569
570
# File 'lib/R3EXS/RGSS3.rb', line 568

def actor_id
  @actor_id
end

#actor_validObject

Returns the value of attribute actor_valid.



561
562
563
# File 'lib/R3EXS/RGSS3.rb', line 561

def actor_valid
  @actor_valid
end

#item_idObject

Returns the value of attribute item_id.



567
568
569
# File 'lib/R3EXS/RGSS3.rb', line 567

def item_id
  @item_id
end

#item_validObject

Returns the value of attribute item_valid.



560
561
562
# File 'lib/R3EXS/RGSS3.rb', line 560

def item_valid
  @item_valid
end

#self_switch_chObject

Returns the value of attribute self_switch_ch.



566
567
568
# File 'lib/R3EXS/RGSS3.rb', line 566

def self_switch_ch
  @self_switch_ch
end

#self_switch_validObject

Returns the value of attribute self_switch_valid.



559
560
561
# File 'lib/R3EXS/RGSS3.rb', line 559

def self_switch_valid
  @self_switch_valid
end

#switch1_idObject

Returns the value of attribute switch1_id.



562
563
564
# File 'lib/R3EXS/RGSS3.rb', line 562

def switch1_id
  @switch1_id
end

#switch1_validObject

Returns the value of attribute switch1_valid.



556
557
558
# File 'lib/R3EXS/RGSS3.rb', line 556

def switch1_valid
  @switch1_valid
end

#switch2_idObject

Returns the value of attribute switch2_id.



563
564
565
# File 'lib/R3EXS/RGSS3.rb', line 563

def switch2_id
  @switch2_id
end

#switch2_validObject

Returns the value of attribute switch2_valid.



557
558
559
# File 'lib/R3EXS/RGSS3.rb', line 557

def switch2_valid
  @switch2_valid
end

#variable_idObject

Returns the value of attribute variable_id.



564
565
566
# File 'lib/R3EXS/RGSS3.rb', line 564

def variable_id
  @variable_id
end

#variable_validObject

Returns the value of attribute variable_valid.



558
559
560
# File 'lib/R3EXS/RGSS3.rb', line 558

def variable_valid
  @variable_valid
end

#variable_valueObject

Returns the value of attribute variable_value.



565
566
567
# File 'lib/R3EXS/RGSS3.rb', line 565

def variable_value
  @variable_value
end