UNPKG

dotup-ts-node-skills-game

Version:
12 lines (11 loc) 1.17 kB
import { ButtonColor, TriggerEvent } from '../Constants/Enumerations'; import { IAnimation, IGadgetControllerDirectives } from '../Interfaces/IGadgetControler'; import { IEventsObject, IPatternRecognizerObject, IRecognizerObject, IStartInputHandlerDirective, IStopInputHandlerDirective } from '../Interfaces/IGameEngine'; export declare namespace GadgetBuilder { function startInputHandler(timeout: number, events: IEventsObject, saveRequestId: () => void, recognizers?: IRecognizerObject | IPatternRecognizerObject, proxies?: string[]): IStartInputHandlerDirective; function stopInputHandler(id: string): IStopInputHandlerDirective; function setLightsOff(gadgetIds: string | string[]): IGadgetControllerDirectives; function setButtonDown(gadgetIds: string | string[], color: ButtonColor, duration?: number): IGadgetControllerDirectives; function setLightAndPowerOff(gadgetIds: string | string[], color: ButtonColor, duration?: number): IGadgetControllerDirectives; function setLight(targetGadgets: string | string[], animations: IAnimation | IAnimation[], triggerEvent: TriggerEvent, triggerEventTimeMs?: number): IGadgetControllerDirectives; }