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.
13 lines (12 loc) • 335 B
TypeScript
import { Entity } from '../../EntityComponentSystem/Entity';
import { Action } from '../Action';
export declare class Die implements Action {
id: number;
private _entity;
private _stopped;
constructor(entity: Entity);
update(elapsed: number): void;
isComplete(): boolean;
stop(): void;
reset(): void;
}