Link Search Menu Expand Document

Game_Event.d overview


Table of contents


utils

Game_Event (class)

Game_Event

The game object class for an event. It contains functionality for event page // switching and running parallel process events.

Signature

export declare class Game_Event {
  constructor(mapId: MapID, eventId: EventID)
}

initMembers (method)

Signature

initMembers(): void

eventId (method)

Signature

eventId(): number

event (method)

Signature

event(): import("../data").DataEvent

page (method)

Signature

page(): DataEventPage

list (method)

Signature

list(): import("../data").DataCommand[]

isCollidedWithCharacters (method)

Signature

isCollidedWithCharacters(x: number, y: number): boolean

isCollidedWithEvents (method)

Signature

isCollidedWithEvents(x: number, y: number): boolean

isCollidedWithPlayerCharacters (method)

Signature

isCollidedWithPlayerCharacters(x: number, y: number): boolean

lock (method)

Signature

lock(): void

unlock (method)

Signature

unlock(): void

updateStop (method)

Signature

updateStop(): void

updateSelfMovement (method)

Signature

updateSelfMovement(): void

stopCountThreshold (method)

Signature

stopCountThreshold(): number

moveTypeRandom (method)

Signature

moveTypeRandom(): void

moveTypeTowardPlayer (method)

Signature

moveTypeTowardPlayer(): void

isNearThePlayer (method)

Signature

isNearThePlayer(): boolean

moveTypeCustom (method)

Signature

moveTypeCustom(): void

isStarting (method)

Signature

isStarting(): boolean

clearStartingFlag (method)

Signature

clearStartingFlag(): void

isTriggerIn (method)

Signature

isTriggerIn(triggers: number[]): boolean

start (method)

Signature

start(): void

erase (method)

Signature

erase(): void

refresh (method)

Signature

refresh(): void

findProperPageIndex (method)

Signature

findProperPageIndex(): number

meetsConditions (method)

Signature

meetsConditions(page: DataEventPage): boolean

setupPage (method)

Signature

setupPage(): void

clearPageSettings (method)

Signature

clearPageSettings(): void

setupPageSettings (method)

Signature

setupPageSettings(): void

isOriginalPattern (method)

Signature

isOriginalPattern(): boolean

resetPattern (method)

Signature

resetPattern(): void

checkEventTriggerTouch (method)

Signature

checkEventTriggerTouch(x: number, y: number): void

checkEventTriggerAuto (method)

Signature

checkEventTriggerAuto(): void

update (method)

Signature

update(): void

updateParallel (method)

Signature

updateParallel(): void

locate (method)

Signature

locate(x: number, y: number): void

forceMoveRoute (method)

Signature

forceMoveRoute(moveRoute: MoveRoute): void

_moveType (property)

Signature

_moveType: number

_trigger (property)

Signature

_trigger: number | null

_starting (property)

Signature

_starting: boolean

_erased (property)

Signature

_erased: boolean

_pageIndex (property)

Signature

_pageIndex: number

_originalPattern (property)

Signature

_originalPattern: number

_originalDirection (property)

Signature

_originalDirection: number

_prelockDirection (property)

Signature

_prelockDirection: Direction

_locked (property)

Signature

_locked: boolean

_mapId (property)

Signature

_mapId: number

_eventId (property)

Signature

_eventId: number

_interpreter (property)

Signature

_interpreter: Game_Interpreter | null