|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Vehicle | |
---|---|
org.mars_sim.msp.simulation | Contains classes for creating a virtual Mars. |
org.mars_sim.msp.simulation.person | Contains classes involving person units. |
org.mars_sim.msp.simulation.person.ai.mission | Contains classes involving missions a person can perform. |
org.mars_sim.msp.simulation.person.ai.task | Contains classes involving tasks a person can perform. |
org.mars_sim.msp.simulation.structure | Contains classes involving structure units. |
org.mars_sim.msp.simulation.structure.building | Contains classes for settlement buildings. |
org.mars_sim.msp.simulation.structure.building.function | Contains classes for settlement building functions. |
org.mars_sim.msp.simulation.vehicle | Contains classes involving vehicle units. |
org.mars_sim.msp.ui.standard.tool.map | Contains the mars simulation map related UI components |
org.mars_sim.msp.ui.standard.unit_window.vehicle | Contains classes for vehicle windows. |
Uses of Vehicle in org.mars_sim.msp.simulation |
---|
Methods in org.mars_sim.msp.simulation that return types with arguments of type Vehicle | |
---|---|
static java.util.Collection<Vehicle> |
CollectionUtils.getVehicle(java.util.Collection<Unit> units)
|
java.util.Collection<Vehicle> |
UnitManager.getVehicles()
Get vehicles in virtual Mars |
Method parameters in org.mars_sim.msp.simulation with type arguments of type Vehicle | |
---|---|
static void |
CollectionUtils.mergeVehicles(java.util.Collection<Unit> units,
java.util.Collection<Vehicle> vehicles)
|
Uses of Vehicle in org.mars_sim.msp.simulation.person |
---|
Methods in org.mars_sim.msp.simulation.person that return Vehicle | |
---|---|
Vehicle |
Person.getVehicle()
Get vehicle person is in, null if person is not in vehicle |
Uses of Vehicle in org.mars_sim.msp.simulation.person.ai.mission |
---|
Methods in org.mars_sim.msp.simulation.person.ai.mission that return Vehicle | |
---|---|
Vehicle |
VehicleMission.getVehicle()
Gets the mission's vehicle if there is one. |
Vehicle |
RescueSalvageVehicle.getVehicleTarget()
Gets the vehicle being rescued/salvaged by this mission. |
protected static Vehicle |
RoverMission.getVehicleWithGreatestRange(Settlement settlement)
Gets the available vehicle at the settlement with the greatest range. |
Methods in org.mars_sim.msp.simulation.person.ai.mission with parameters of type Vehicle | |
---|---|
protected int |
TravelToSettlement.compareVehicles(Vehicle firstVehicle,
Vehicle secondVehicle)
Compares the quality of two vehicles for use in this mission. |
protected int |
VehicleMission.compareVehicles(Vehicle firstVehicle,
Vehicle secondVehicle)
Compares the quality of two vehicles for use in this mission. |
protected int |
Trade.compareVehicles(Vehicle firstVehicle,
Vehicle secondVehicle)
Compares the quality of two vehicles for use in this mission. |
protected int |
Exploration.compareVehicles(Vehicle firstVehicle,
Vehicle secondVehicle)
|
Mission |
MissionManager.getMissionForVehicle(Vehicle vehicle)
Gets a mission that the given vehicle is a part of. |
protected boolean |
VehicleMission.isUsableVehicle(Vehicle newVehicle)
Checks if vehicle is usable for this mission. |
protected boolean |
RoverMission.isUsableVehicle(Vehicle newVehicle)
Checks if vehicle is usable for this mission. |
void |
VehicleMission.setEmergencyBeacon(Person person,
Vehicle vehicle,
boolean beaconOn)
Sets the vehicle's emergency beacon on or off. |
protected void |
VehicleMission.setVehicle(Vehicle newVehicle)
Sets the vehicle for this mission. |
Constructors in org.mars_sim.msp.simulation.person.ai.mission with parameters of type Vehicle | |
---|---|
RescueSalvageVehicle(java.util.Collection<Person> members,
Settlement startingSettlement,
Vehicle vehicleTarget,
Rover rover,
java.lang.String description)
Constructor with explicit data. |
|
VehicleMission(java.lang.String name,
Person startingPerson,
int minPeople,
Vehicle vehicle)
Constructor with vehicle. |
Uses of Vehicle in org.mars_sim.msp.simulation.person.ai.task |
---|
Methods in org.mars_sim.msp.simulation.person.ai.task that return Vehicle | |
---|---|
Vehicle |
OperateVehicle.getVehicle()
Gets the vehicle operated with this task. |
Methods in org.mars_sim.msp.simulation.person.ai.task with parameters of type Vehicle | |
---|---|
static boolean |
LoadVehicle.enoughCapacityForSupplies(java.util.Map<Resource,java.lang.Number> resources,
java.util.Map<java.lang.Class,java.lang.Integer> equipment,
Vehicle vehicle,
Settlement settlement)
Checks if a vehicle has enough storage capacity for the supplies needed on the trip. |
static double |
OperateVehicle.getAverageVehicleSpeed(Vehicle vehicle,
VehicleOperator operator)
Gets the average operating speed of a vehicle for a given operator. |
static boolean |
LoadVehicle.hasEnoughSupplies(Settlement settlement,
Vehicle vehicle,
java.util.Map<Resource,java.lang.Number> resources,
java.util.Map<java.lang.Class,java.lang.Integer> equipment,
int vehicleCrewNum,
double tripTime)
Checks if there are enough supplies in the settlement's stores to supply trip. |
static boolean |
LoadVehicle.isFullyLoaded(java.util.Map<Resource,java.lang.Number> resources,
java.util.Map<java.lang.Class,java.lang.Integer> equipment,
Vehicle vehicle)
Checks if the vehicle is fully loaded with supplies. |
static boolean |
UnloadVehicle.isFullyUnloaded(Vehicle vehicle)
Returns true if the vehicle is fully unloaded. |
Constructors in org.mars_sim.msp.simulation.person.ai.task with parameters of type Vehicle | |
---|---|
LoadVehicle(Person person,
Vehicle vehicle,
java.util.Map<Resource,java.lang.Number> resources,
java.util.Map<java.lang.Class,java.lang.Integer> equipment)
Constructor |
|
OperateVehicle(java.lang.String name,
Person person,
Vehicle vehicle,
Coordinates destination,
MarsClock startTripTime,
double startTripDistance,
double stressModifier,
boolean hasDuration,
double duration)
Default Constructor |
|
UnloadVehicle(Person person,
Vehicle vehicle)
Constructor |
Uses of Vehicle in org.mars_sim.msp.simulation.structure |
---|
Methods in org.mars_sim.msp.simulation.structure that return types with arguments of type Vehicle | |
---|---|
java.util.Collection<Vehicle> |
Settlement.getAllAssociatedVehicles()
Gets all vehicles associated with this settlement, even if they are out on missions. |
java.util.Collection<Vehicle> |
Settlement.getParkedVehicles()
Gets a collection of vehicles parked at the settlement. |
Uses of Vehicle in org.mars_sim.msp.simulation.structure.building |
---|
Methods in org.mars_sim.msp.simulation.structure.building with parameters of type Vehicle | |
---|---|
static Building |
BuildingManager.getBuilding(Vehicle vehicle)
Gets the vehicle maintenance building a given vehicle is in. |
Uses of Vehicle in org.mars_sim.msp.simulation.structure.building.function |
---|
Methods in org.mars_sim.msp.simulation.structure.building.function that return types with arguments of type Vehicle | |
---|---|
java.util.Collection<Vehicle> |
VehicleMaintenance.getVehicles()
Gets a collection of vehicles in the building. |
Methods in org.mars_sim.msp.simulation.structure.building.function with parameters of type Vehicle | |
---|---|
void |
VehicleMaintenance.addVehicle(Vehicle vehicle)
Add vehicle to building if there's room. |
boolean |
VehicleMaintenance.containsVehicle(Vehicle vehicle)
Checks if a vehicle is in the building. |
void |
VehicleMaintenance.removeVehicle(Vehicle vehicle)
Remove vehicle from building if it's in the building. |
Uses of Vehicle in org.mars_sim.msp.simulation.vehicle |
---|
Subclasses of Vehicle in org.mars_sim.msp.simulation.vehicle | |
---|---|
class |
GroundVehicle
The GroundVehicle class represents a ground-type vehicle. |
class |
LightUtilityVehicle
A light utility vehicle that can be used for construction, loading and mining. |
class |
MockVehicle
|
class |
Rover
The Rover class represents the rover type of ground vehicle. |
Methods in org.mars_sim.msp.simulation.vehicle that return Vehicle | |
---|---|
Vehicle |
Rover.getTowedVehicle()
Gets the vehicle this rover is currently towing. |
Vehicle |
Towing.getTowedVehicle()
Gets the vehicle this rover is currently towing. |
Vehicle |
Vehicle.getTowingVehicle()
Gets the vehicle that is currently towing this vehicle. |
Vehicle |
SickBay.getVehicle()
Gets the vehicle this sickbay is in. |
Methods in org.mars_sim.msp.simulation.vehicle with parameters of type Vehicle | |
---|---|
void |
Rover.setTowedVehicle(Vehicle towedVehicle)
Sets the vehicle this rover is currently towing. |
void |
Towing.setTowedVehicle(Vehicle towedVehicle)
Sets the vehicle this rover is currently towing. |
void |
Vehicle.setTowingVehicle(Vehicle towingVehicle)
Sets the vehicle that is currently towing this vehicle. |
Constructors in org.mars_sim.msp.simulation.vehicle with parameters of type Vehicle | |
---|---|
SickBay(Vehicle vehicle,
int treatmentLevel,
int sickBedNum)
Constructor |
|
VehicleAirlock(Vehicle vehicle,
int capacity)
Constructor |
Uses of Vehicle in org.mars_sim.msp.ui.standard.tool.map |
---|
Methods in org.mars_sim.msp.ui.standard.tool.map with parameters of type Vehicle | |
---|---|
void |
VehicleTrailMapLayer.setSingleVehicle(Vehicle singleVehicle)
Sets the single vehicle trail to display. |
Uses of Vehicle in org.mars_sim.msp.ui.standard.unit_window.vehicle |
---|
Constructors in org.mars_sim.msp.ui.standard.unit_window.vehicle with parameters of type Vehicle | |
---|---|
CrewTabPanel(Vehicle vehicle,
MainDesktopPane desktop)
Constructor |
|
DirectionDisplayPanel(Vehicle vehicle)
Constructor |
|
MissionTabPanel(Vehicle vehicle,
MainDesktopPane desktop)
Constructor |
|
VehicleWindow(MainDesktopPane desktop,
Vehicle vehicle)
Constructor |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |