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.

class

Game_Item

Hierarchy

  • Game_Item

Index

Constructors

constructor

Properties

Protected _dataClass

_dataClass: string

Protected _itemId

_itemId: number

Methods

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