RPG::Troop::Member

Data class for troop members.

Superclass

Referrer

Attributes

enemy_id

The enemy ID.

x

The troop member's X-coordinate.

y

The troop member's Y-coordinate.

hidden

Truth value of the [Appear Midway] option.

immortal

Truth value of the [Immortal] option.

Definition

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)