java.lang.Object
nl.sbdeveloper.vehiclesplus.api.vehicles.statics.strategies.AirMovementStrategy
All Implemented Interfaces:
MovementStrategy

public class AirMovementStrategy extends Object implements MovementStrategy
A strategy for air movement
  • Constructor Details

    • AirMovementStrategy

      public AirMovementStrategy(VehicleModel model)
      Default construct of AirMovementStrategy
      Parameters:
      model - VehicleModel
    • AirMovementStrategy

      public AirMovementStrategy(float liftoffSpeed)
      Construct of AirMovementStrategy
      Parameters:
      liftoffSpeed - float
    • AirMovementStrategy

      public AirMovementStrategy()
  • Method Details

    • getLiftoffSpeed

      public float getLiftoffSpeed()
      The speed at which the vehicle can liftoff (km/h)
    • getLift

      public int getLift()
      The current lift of the vehicle
    • setLiftoffSpeed

      public void setLiftoffSpeed(float liftoffSpeed)
      The speed at which the vehicle can liftoff (km/h)
    • setLift

      public void setLift(int lift)
      The current lift of the vehicle
    • toString

      public String toString()
      Overrides:
      toString in class Object