Uses of Interface
nl.sbdeveloper.vehiclesplus.api.vehicles.statics.MovementStrategy
Packages that use MovementStrategy
Package
Description
The Vehicles package contains all the vehicle related API.
The Vehicles Implementation package contains the implemented vehicle classes.
The Statics package contains all the vehicle statics related API.
The Strategies package contains the strategies for the vehicle movement which can be applied.
-
Uses of MovementStrategy in nl.sbdeveloper.vehiclesplus.api.vehicles
Methods in nl.sbdeveloper.vehiclesplus.api.vehicles with type parameters of type MovementStrategyModifier and TypeMethodDescription<T extends MovementStrategy,
R>
RIVehicle.getFromStrategy
(MovementType type, Function<T, R> applyFunction, R defaultValue) <T extends MovementStrategy,
R>
RVehicleModel.getFromStrategy
(MovementType type, Function<T, R> applyFunction, R defaultValue) Get the value of a specific strategy.Methods in nl.sbdeveloper.vehiclesplus.api.vehicles that return types with arguments of type MovementStrategyModifier and TypeMethodDescription@NotNull List
<MovementStrategy> VehicleModel.getTypeStrategies()
Methods in nl.sbdeveloper.vehiclesplus.api.vehicles with parameters of type MovementStrategyModifier and TypeMethodDescriptionVehicleModel.Builder.typeStrategies
(MovementStrategy... typeStrategies) Adds movement strategies to the vehicle. -
Uses of MovementStrategy in nl.sbdeveloper.vehiclesplus.api.vehicles.impl
Methods in nl.sbdeveloper.vehiclesplus.api.vehicles.impl with type parameters of type MovementStrategyModifier and TypeMethodDescription<T extends MovementStrategy>
voidSpawnedVehicle.applyToStrategy
(MovementType type, Consumer<T> applyFunction) Apply a function to a specific strategy.<T extends MovementStrategy,
R>
RDrivableVehicle.getFromStrategy
(MovementType type, Function<T, R> applyFunction, R defaultValue) <T extends MovementStrategy,
R>
RSpawnedVehicle.getFromStrategy
(MovementType type, Function<T, R> applyFunction, R defaultValue) <T extends MovementStrategy,
R>
RStorageVehicle.getFromStrategy
(MovementType type, Function<T, R> applyFunction, R defaultValue) -
Uses of MovementStrategy in nl.sbdeveloper.vehiclesplus.api.vehicles.statics
Methods in nl.sbdeveloper.vehiclesplus.api.vehicles.statics with type parameters of type MovementStrategyModifier and TypeMethodDescriptionstatic <T extends MovementStrategy>
TStrategyFactory.createStrategy
(VehicleModel model, MovementType type) Create a MovementStrategy instance for a given VehicleModel and MovementTypestatic <T extends MovementStrategy>
Class<T> StrategyFactory.getStrategyClass
(MovementType type) Get the strategy class for a given MovementType -
Uses of MovementStrategy in nl.sbdeveloper.vehiclesplus.api.vehicles.statics.strategies
Classes in nl.sbdeveloper.vehiclesplus.api.vehicles.statics.strategies that implement MovementStrategyModifier and TypeClassDescriptionclass
A strategy for air movementclass
A strategy for land movementclass
A strategy for land movement