@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
24 lines • 519 B
TypeScript
export class TileMoveProgram {
/**
*
* @type {TileMoveInstruction[]}
*/
instructions: TileMoveInstruction[];
/**
*
* @param {TileMoveInstruction} instruction
*/
add(instruction: TileMoveInstruction): void;
/**
*
* @param {Rectangle} tile
* @returns {boolean}
*/
hasInstructionForTile(tile: Rectangle): boolean;
/**
* returns {boolean}
*/
validate(): boolean;
execute(): void;
}
//# sourceMappingURL=TileMoveProgram.d.ts.map