Class: QuestItem#

Hierarchy#

  • Handle<questitem>

    ↳ QuestItem

Constructors#

constructor#

new QuestItem(whichQuest: Quest): QuestItem

Parameters:#

NameType
whichQuestQuest

Returns: QuestItem

Defined in: handles/quest.ts:5

Properties#

handle#

• Readonly handle: questitem

Inherited from: Handle.handle

Defined in: handles/handle.ts:6

Accessors#

completed#

completed(): boolean

Returns: boolean

Defined in: handles/quest.ts:18

completed(completed: boolean): void

Parameters:#

NameType
completedboolean

Returns: void

Defined in: handles/quest.ts:22


id#

id(): number

Get the unique ID of the handle. The ID is recycled once you destroy the object.

Returns: number

The unique ID of a handle object.

Defined in: handles/handle.ts:18

Methods#

setDescription#

setDescription(description: string): void

Parameters:#

NameType
descriptionstring

Returns: void

Defined in: handles/quest.ts:14