@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
33 lines • 601 B
TypeScript
/**
* @template A
* @author Alex Goldring
* @copyright Company Named Limited (c) 2025
*/
export class ActionSequence<A> {
/**
*
* @type {A[]}
*/
actions: A[];
/**
* Higher priority sequences indicate that they need to be executed first
* @type {number}
*/
priority: number;
/**
*
* @param {number} v
*/
setPriority(v: number): void;
/**
*
* @returns {number}
*/
getPriority(): number;
/**
*
* @param {A} action
*/
add(action: A): void;
}
//# sourceMappingURL=ActionSequence.d.ts.map