Class: RPG::Map::Encounter
- Inherits:
-
Object
- Object
- RPG::Map::Encounter
- Defined in:
- lib/R3EXS/RGSS3.rb
Instance Attribute Summary collapse
-
#region_set ⇒ Object
Returns the value of attribute region_set.
-
#troop_id ⇒ Object
Returns the value of attribute troop_id.
-
#weight ⇒ Object
Returns the value of attribute weight.
Instance Method Summary collapse
-
#initialize ⇒ Encounter
constructor
A new instance of Encounter.
Constructor Details
#initialize ⇒ Encounter
Returns a new instance of Encounter.
462 463 464 465 466 |
# File 'lib/R3EXS/RGSS3.rb', line 462 def initialize @troop_id = 1 @weight = 10 @region_set = [] end |
Instance Attribute Details
#region_set ⇒ Object
Returns the value of attribute region_set.
470 471 472 |
# File 'lib/R3EXS/RGSS3.rb', line 470 def region_set @region_set end |
#troop_id ⇒ Object
Returns the value of attribute troop_id.
468 469 470 |
# File 'lib/R3EXS/RGSS3.rb', line 468 def troop_id @troop_id end |
#weight ⇒ Object
Returns the value of attribute weight.
469 470 471 |
# File 'lib/R3EXS/RGSS3.rb', line 469 def weight @weight end |