///
import { IHintPlayer } from "./Hint";
export type ApplicationFeatures = {
captions?: boolean,
captionsStyles?: boolean,
sound?: boolean,
vo?: boolean,
music?: boolean,
sfx?: boolean,
soundVolume?: boolean,
musicVolume?: boolean,
voVolume?: boolean,
sfxVolume?: boolean,
pointerSize?: boolean,
controlSensitivity?: boolean,
buttonSize?: boolean,
removableLayers?: boolean,
hudPosition?: boolean,
hitAreaScale?: boolean,
dragThresholdScale?: boolean,
health?: boolean,
objectCount?: boolean,
completionPercentage?: boolean,
speedScale?: boolean,
timersScale?: boolean,
inputCount?: boolean
keyBinding?: boolean,
colorVision?: boolean,
fullScreen?: boolean,
};
export type CaptionStyle = {
color: string,
edge: string,
font:string,
background:string,
size:string,
align:string,
value?:string
}
export type KeyBinding = {
[key:string]: string
}
export type ApplicationConfig = {
features?: ApplicationFeatures,
hintPlayer?: IHintPlayer
}
export class Application {
constructor(config: ApplicationConfig);
validateListeners(): void;
state: {
ready: Property,
pause: Property,
captionsMuted: Property,
captionsStyles: Property,
playOptions: Property