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.

16 lines (15 loc) 364 B
import { Entity } from '../EntityComponentSystem/Entity'; /** * Used for implementing actions for the {@apilink ActionContext | `Action API`}. */ export interface Action { id: number; update(elapsed: number): void; isComplete(entity: Entity): boolean; reset(): void; stop(): void; } /** * */ export declare function nextActionId(): number;