@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
21 lines (17 loc) • 493 B
JavaScript
export class AbstractActionDescription {
/**
* Main entry point
* @param {number} actor Entity ID of the actor
* @param {EntityComponentDataset} dataset
* @param context
* @param {DynamicActorSystem} system
* @returns {Behavior}
*/
execute(actor, dataset, context, system) {
throw new Error('niy');
}
fromJSON(j) {
throw new Error('niy');
}
}
AbstractActionDescription.prototype.type = '$Abstract';