Framework interfaces

interface Game {
    instantaneousMode: boolean;
    onEnteringState: ((stateName, args) => void);
    onLeavingState: ((stateName) => void);
    onUpdateActionButtons: ((stateName, args) => void);
    setup: ((gamedatas) => void);
    setupNotifications: (() => void);
}

Properties

instantaneousMode: boolean
onEnteringState: ((stateName, args) => void)

Type declaration

    • (stateName, args): void
    • Parameters

      • stateName: string
      • args: any

      Returns void

onLeavingState: ((stateName) => void)

Type declaration

    • (stateName): void
    • Parameters

      • stateName: string

      Returns void

onUpdateActionButtons: ((stateName, args) => void)

Type declaration

    • (stateName, args): void
    • Parameters

      • stateName: string
      • args: any

      Returns void

setup: ((gamedatas) => void)

Type declaration

    • (gamedatas): void
    • Parameters

      • gamedatas: any

      Returns void

setupNotifications: (() => void)

Type declaration

    • (): void
    • Returns void

Generated using TypeDoc