RPG::BaseItem

Aus Scientia
Wechseln zu: Navigation, Suche

RMVX ONLY


Baseitem ist die Überklasse von Item, Skill, Weapon und Armor.

Superclass

Object

Attributes

.id

The item ID

name

The item name

.icon_index

The icon number

.description

The description text

.note

The text of the note.


Definition

module RPG
 
  class Item
 
    def initialize
 
      @id = 0
 
      @name = ""
 
      @icon_index = 0
 
      @description = ""
 
      @note = ""
 
    end
 
    attr_accessor :id
 
    attr_accessor :name
 
    attr_accessor :icon_index
 
    attr_accessor :description
 
    attr_accessor :note
 
  end
 
end