@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
30 lines • 661 B
TypeScript
/**
* @template S
* @author Alex Goldring
* @copyright Company Named Limited (c) 2025
*/
export class MoveEdge<S> {
/**
* @template S
* @param {function(S):S} f
* @return {MoveEdge<S>}
*/
static fromFunction<S_1>(f: (arg0: S_1) => S_1): MoveEdge<S_1>;
/**
*
* @type {null|StateNode}
*/
target: null | StateNode;
/**
* Move that leads from source state to the target state
* @param {S} inputState
* @returns S output state
*/
move(inputState: S): void;
/**
*
* @returns {boolean}
*/
isTargetMaterialized(): boolean;
}
//# sourceMappingURL=MoveEdge.d.ts.map