Uses of Class
org.mars_sim.msp.core.vehicle.Vehicle

Packages that use Vehicle
org.mars_sim.msp.core Contains classes for creating a virtual Mars. 
org.mars_sim.msp.core.person Contains classes involving person units. 
org.mars_sim.msp.core.person.ai.mission Contains classes involving missions a person can perform. 
org.mars_sim.msp.core.person.ai.task Contains classes involving tasks a person can perform. 
org.mars_sim.msp.core.structure Contains classes involving structure units. 
org.mars_sim.msp.core.structure.building Contains classes for settlement buildings. 
org.mars_sim.msp.core.structure.building.function Contains classes for settlement building functions. 
org.mars_sim.msp.core.vehicle Contains classes involving vehicle units. 
 

Uses of Vehicle in org.mars_sim.msp.core
 

Methods in org.mars_sim.msp.core 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.core 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.core.person
 

Methods in org.mars_sim.msp.core.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.core.person.ai.mission
 

Methods in org.mars_sim.msp.core.person.ai.mission that return Vehicle
static Vehicle RescueSalvageVehicle.findAvailableBeaconVehicle(Settlement settlement, double range)
          Finds the closest available rescue or salvage vehicles within range.
 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, boolean allowMaintReserved)
          Gets the available vehicle at the settlement with the greatest range.
 

Methods in org.mars_sim.msp.core.person.ai.mission with parameters of type Vehicle
protected  int Exploration.compareVehicles(Vehicle firstVehicle, Vehicle secondVehicle)
           
protected  int Trade.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 TravelToSettlement.compareVehicles(Vehicle firstVehicle, Vehicle secondVehicle)
          Compares the quality of two vehicles for use in this mission.
 Mission MissionManager.getMissionForVehicle(Vehicle vehicle)
          Gets a mission that the given vehicle is a part of.
static boolean RescueSalvageVehicle.isClosestCapableSettlement(Settlement thisSettlement, Vehicle thisVehicle)
          Checks if this is the closest settlement to a beacon vehicle that could rescue/salvage it.
protected  boolean RoverMission.isUsableVehicle(Vehicle newVehicle)
          Checks if vehicle is usable for this mission.
protected  boolean VehicleMission.isUsableVehicle(Vehicle newVehicle)
          Checks if vehicle is usable for this mission.
protected  boolean RescueSalvageVehicle.isUsableVehicle(Vehicle newVehicle)
           
 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.
protected  void RescueSalvageVehicle.setVehicle(Vehicle newVehicle)
           
 

Constructors in org.mars_sim.msp.core.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.core.person.ai.task
 

Methods in org.mars_sim.msp.core.person.ai.task that return Vehicle
 Vehicle OperateVehicle.getVehicle()
          Gets the vehicle operated with this task.
 

Methods in org.mars_sim.msp.core.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.core.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.core.structure
 

Methods in org.mars_sim.msp.core.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.core.structure.building
 

Methods in org.mars_sim.msp.core.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.core.structure.building.function
 

Methods in org.mars_sim.msp.core.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.core.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.core.vehicle
 

Subclasses of Vehicle in org.mars_sim.msp.core.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 Rover
          The Rover class represents the rover type of ground vehicle.
 

Methods in org.mars_sim.msp.core.vehicle that return Vehicle
 Vehicle Towing.getTowedVehicle()
          Gets the vehicle this rover is currently towing.
 Vehicle Rover.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.core.vehicle with parameters of type Vehicle
 void Towing.setTowedVehicle(Vehicle towedVehicle)
          Sets the vehicle this rover is currently towing.
 void Rover.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.core.vehicle with parameters of type Vehicle
SickBay(Vehicle vehicle, int treatmentLevel, int sickBedNum)
          Constructor
VehicleAirlock(Vehicle vehicle, int capacity)
          Constructor