UNPKG

spatial-controls

Version:

Configurable 3D movement controls.

21 lines (20 loc) 485 B
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 readonly movementState; /** * Constructs a new boost strategy. * * @param movementState - A movement state. */ constructor(movementState: MovementState); execute(flag: boolean): void; }