spatial-controls
Version:
Configurable 3D movement controls.
21 lines (20 loc) • 476 B
TypeScript
import { MovementState } from "../managers/MovementState.js";
import { Strategy } from "./Strategy.js";
/**
* A boost strategy.
*
* @group Strategies
*/
export declare class BoostStrategy implements Strategy {
/**
* A movement state.
*/
private movementState;
/**
* Constructs a new boost strategy.
*
* @param movementState - A movement state.
*/
constructor(movementState: MovementState);
execute(flag: boolean): void;
}