Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Game_Item

Game_Item The game object class for handling skills, items, weapons. armor. This is required, because the save data should not include the database object itself.

Hierarchy

  • Game_Item

Index

Constructors

constructor

Properties

_dataClass

_dataClass: string

_itemId

_itemId: number

Methods

initialize

  • initialize(): void

isArmor

  • isArmor(): boolean

isEquipItem

  • isEquipItem(): boolean

isItem

  • isItem(): boolean

isNull

  • isNull(): boolean

isSkill

  • isSkill(): boolean

isUsableItem

  • isUsableItem(): boolean

isWeapon

  • isWeapon(): boolean

itemId

  • itemId(): number

object

setEquip

  • setEquip(isWeapon: boolean, itemId: number): void

setObject

Generated using TypeDoc