Data class for troop members.
The enemy ID.
The troop member's X-coordinate.
The troop member's Y-coordinate.
Truth value of the [Appear Midway] option.
Truth value of the [Immortal] option.
module RPG class Troop class Member def initialize @enemy_id = 1 @x = 0 @y = 0 @hidden = false @immortal = false end attr_accessor :enemy_id attr_accessor :x attr_accessor :y attr_accessor :hidden attr_accessor :immortal end end end
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |