UNPKG

excalibur

Version:

Excalibur.js is a simple JavaScript game engine with TypeScript bindings for making 2D games in HTML5 Canvas. Our mission is to make web game development as simple as possible.

18 lines (17 loc) 503 B
import { Entity } from '../../EntityComponentSystem/Entity'; import { Action } from '../Action'; export declare class Fade implements Action { id: number; private _graphics; private _endOpacity; private _remainingTime; private _originalTime; private _multiplier; private _started; private _stopped; constructor(entity: Entity, endOpacity: number, duration: number); update(elapsed: number): void; isComplete(): boolean; stop(): void; reset(): void; }