@spearwolf/twopoint5d
Version:
a library to create 2.5d realtime graphics and pixelart with three.js
21 lines • 732 B
TypeScript
export type DisplayStateName = 'new' | 'running' | 'paused';
export declare class DisplayStateMachine {
#private;
static NEW: DisplayStateName;
static RUNNING: DisplayStateName;
static PAUSED: DisplayStateName;
static Init: string;
static Start: string;
static Pause: string;
static Restart: string;
state: DisplayStateName;
constructor();
get pausedByUser(): boolean;
set pausedByUser(pausedByUser: boolean);
get documentIsVisible(): boolean;
set documentIsVisible(documentIsVisible: boolean);
get elementIsInsideViewport(): boolean;
set elementIsInsideViewport(elementIsInsideViewport: boolean);
start(): void;
}
//# sourceMappingURL=DisplayStateMachine.d.ts.map