import { MovementState } from "../managers" ; import { Strategy } from "./Strategy" ; /**
 * A boost strategy.
 */ export class BoostStrategy implements Strategy { /**
     * A movement state.
     */ private movementState : MovementState ; param movementState constructor ( movementState ) { this . movementState = movementState ; } execute ( flag ) { this . movementState . boost = flag ; } }