Uses of Interface
org.mars_sim.msp.core.resource.Resource

Packages that use Resource
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.resource Contains classes for resource specific items. 
org.mars_sim.msp.core.structure.goods Contains classes for all used goods in the simulation. 
 

Uses of Resource in org.mars_sim.msp.core.person.ai.mission
 

Methods in org.mars_sim.msp.core.person.ai.mission that return types with arguments of type Resource
protected  java.util.Map<Resource,java.lang.Number> CollectResourcesMission.getPartsNeededForTrip(double distance)
          Gets the parts needed for the trip.
protected  java.util.Map<Resource,java.lang.Number> VehicleMission.getPartsNeededForTrip(double distance)
          Gets the parts needed for the trip.
 java.util.Map<Resource,java.lang.Number> BiologyStudyFieldMission.getResourcesNeededForRemainingMission(boolean useBuffer, boolean parts)
           
 java.util.Map<Resource,java.lang.Number> BuildingConstructionMission.getResourcesNeededForRemainingMission(boolean useBuffer, boolean parts)
           
 java.util.Map<Resource,java.lang.Number> Exploration.getResourcesNeededForRemainingMission(boolean useBuffer, boolean parts)
           
 java.util.Map<Resource,java.lang.Number> CollectResourcesMission.getResourcesNeededForRemainingMission(boolean useBuffer, boolean parts)
          Gets the number and amounts of resources needed for the mission.
abstract  java.util.Map<Resource,java.lang.Number> Mission.getResourcesNeededForRemainingMission(boolean useBuffer, boolean parts)
          Gets the number and amounts of resources needed for the mission.
 java.util.Map<Resource,java.lang.Number> Mining.getResourcesNeededForRemainingMission(boolean useBuffer, boolean parts)
           
 java.util.Map<Resource,java.lang.Number> VehicleMission.getResourcesNeededForRemainingMission(boolean useBuffer, boolean parts)
          Gets the number and amounts of resources needed for the mission.
 java.util.Map<Resource,java.lang.Number> AreologyStudyFieldMission.getResourcesNeededForRemainingMission(boolean useBuffer, boolean parts)
           
 java.util.Map<Resource,java.lang.Number> RescueSalvageVehicle.getResourcesNeededForRemainingMission(boolean useBuffer, boolean parts)
          Gets the number and amounts of resources needed for the mission.
 java.util.Map<Resource,java.lang.Number> Trade.getResourcesNeededForTrip(boolean useBuffer, boolean parts, double distance)
          Gets a map of all resources needed for the trip.
 java.util.Map<Resource,java.lang.Number> RoverMission.getResourcesNeededForTrip(boolean useBuffer, boolean parts, double distance)
          Gets a map of all resources needed for the trip.
 java.util.Map<Resource,java.lang.Number> VehicleMission.getResourcesNeededForTrip(boolean useBuffer, boolean parts, double distance)
          Gets the number and amounts of resources needed for a trip.
 java.util.Map<Resource,java.lang.Number> VehicleMission.getResourcesToLoad()
          Gets the resources needed for loading the vehicle.
 java.util.Map<Resource,java.lang.Number> RescueSalvageVehicle.getResourcesToLoad()
          Gets the resources needed for loading the vehicle.
 

Uses of Resource in org.mars_sim.msp.core.person.ai.task
 

Method parameters in org.mars_sim.msp.core.person.ai.task with type arguments of type Resource
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 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.
 

Constructor parameters in org.mars_sim.msp.core.person.ai.task with type arguments of type Resource
LoadVehicle(Person person, Vehicle vehicle, java.util.Map<Resource,java.lang.Number> resources, java.util.Map<java.lang.Class,java.lang.Integer> equipment)
          Constructor
 

Uses of Resource in org.mars_sim.msp.core.resource
 

Classes in org.mars_sim.msp.core.resource that implement Resource
 class AmountResource
          The AmountResource class represents a type of resource that is a material measured in mass kg.
 class ItemResource
          The ItemResource class represents a type of resource that is measured in units, such as simple tools and parts.
 class Part
          The Part class represents a type of unit resource that is used for maintenance and repairs.
 

Methods in org.mars_sim.msp.core.resource with parameters of type Resource
 int AmountResource.compareTo(Resource o)
          Compares this object with the specified object for order.
 int ItemResource.compareTo(Resource o)
          Compares this object with the specified object for order.
 

Uses of Resource in org.mars_sim.msp.core.structure.goods
 

Methods in org.mars_sim.msp.core.structure.goods with parameters of type Resource
static Good GoodsUtil.getResourceGood(Resource resource)
          Gets a good object for a given resource.