Constructors
constructor
- new Item(name, label, description, weight, unique): Item
Parameters
- name: string
- label: string
- description: string
- weight: number
- unique: boolean
Methods
asString
- asString(): string
Returns string
getDescription
- getDescription(): string
Returns string
getLabel
- getLabel(): string
Returns string
getName
- getName(): string
Returns string
getUnique
- getUnique(): boolean
Returns boolean
getWeight
- getWeight(): number
Returns number