RPG::BaseItem::Feature

The data class for features.

Superclass

Referrer

Attributes

code

The feature code.

data_id

The ID of the data (such as attributes or states) according to the type of feature.

value

The value set according to the type of feature.

Definition

class RPG::BaseItem::Feature
  def initialize(code = 0, data_id = 0, value = 0)
    @code = code
    @data_id = data_id
    @value = value
  end
  attr_accessor :code
  attr_accessor :data_id
  attr_accessor :value
end