@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
23 lines • 767 B
TypeScript
/**
* Behavior that always succeeds.
* Useful when you need to specify a behavior to fulfill the API, but you don't actually want to perform any action.
* You usually want to use {@link INSTANCE} singleton
* @author Alex Goldring
* @copyright Company Named Limited (c) 2025
*/
export class SucceedingBehavior extends Behavior<any> {
/**
* @readonly
* @type {SucceedingBehavior}
*/
static readonly INSTANCE: SucceedingBehavior;
constructor();
initialize(context: any): void;
tick(timeDelta: any): BehaviorStatus;
}
export namespace SucceedingBehavior {
let typeName: string;
}
import { Behavior } from "../Behavior.js";
import { BehaviorStatus } from "../BehaviorStatus.js";
//# sourceMappingURL=SucceedingBehavior.d.ts.map