Uses of Class
org.mars_sim.msp.core.resource.AmountResource

Packages that use AmountResource
org.mars_sim.msp.core Contains classes for creating a virtual Mars. 
org.mars_sim.msp.core.interplanetary.transport.resupply   
org.mars_sim.msp.core.malfunction Contains classes involving malfunctions. 
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 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.structure.construction   
org.mars_sim.msp.core.vehicle Contains classes involving vehicle units. 
 

Uses of AmountResource in org.mars_sim.msp.core
 

Methods in org.mars_sim.msp.core that return types with arguments of type AmountResource
 Set<AmountResource> Inventory.getAllAmountResourcesStored(boolean allowDirty)
          Gets all of the amount resources stored.
 

Methods in org.mars_sim.msp.core with parameters of type AmountResource
 void Inventory.addAmountResourceTypeCapacity(AmountResource resource, double capacity)
          Adds capacity for a resource type.
 double Inventory.getAmountResourceCapacity(AmountResource resource, boolean allowDirty)
          Gets the storage capacity for a resource.
 double Inventory.getAmountResourceRemainingCapacity(AmountResource resource, boolean useContainedUnits, boolean allowDirty)
          Gets the remaining capacity available for a resource.
 double Inventory.getAmountResourceStored(AmountResource resource, boolean allowDirty)
          Gets the amount of a resource stored.
 boolean Inventory.hasAmountResourceCapacity(AmountResource resource, boolean allowDirty)
          Checks if storage has capacity for a resource.
 boolean Inventory.hasAmountResourceCapacity(AmountResource resource, double amount, boolean allowDirty)
          Checks if storage has capacity for an amount of a resource.
 void Inventory.removeAmountResourceTypeCapacity(AmountResource resource, double capacity)
          Removes capacity for a resource type.
 void Inventory.retrieveAmountResource(AmountResource resource, double amount)
          Retrieves an amount of a resource from storage.
 void Inventory.storeAmountResource(AmountResource resource, double amount, boolean useContainedUnits)
          Store an amount of a resource.
 

Uses of AmountResource in org.mars_sim.msp.core.interplanetary.transport.resupply
 

Methods in org.mars_sim.msp.core.interplanetary.transport.resupply that return types with arguments of type AmountResource
 Map<AmountResource,Double> Resupply.getNewResources()
          Gets a map of the resupply resources.
 Map<AmountResource,Double> ResupplyConfig.getResupplyResources(String resupplyName)
          Gets a map of resources and their amounts in a resupply mission.
 

Method parameters in org.mars_sim.msp.core.interplanetary.transport.resupply with type arguments of type AmountResource
 void Resupply.setNewResources(Map<AmountResource,Double> newResources)
          Sets the map of resupply resources.
 

Uses of AmountResource in org.mars_sim.msp.core.malfunction
 

Methods in org.mars_sim.msp.core.malfunction that return types with arguments of type AmountResource
 Map<AmountResource,Double> Malfunction.getResourceEffects()
          Gets the resource effects of the malfunction.
 

Constructor parameters in org.mars_sim.msp.core.malfunction with type arguments of type AmountResource
Malfunction(String name, int severity, double probability, double emergencyWorkTime, double workTime, double EVAWorkTime, Collection<String> scope, Map<AmountResource,Double> resourceEffects, Map<String,Double> lifeSupportEffects, Map<String,Double> medicalComplaints)
          Constructs a Malfunction object
 

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

Methods in org.mars_sim.msp.core.person.ai.mission with parameters of type AmountResource
 void Mining.collectMineral(AmountResource mineral, double amount)
          Collects an amount of a mineral.
 void Mining.excavateMineral(AmountResource mineral, double amount)
          Excavates an amount of a mineral.
 double Mining.getMineralExcavationAmount(AmountResource mineral)
          Gets the amount of a mineral currently excavated.
 double Mining.getTotalMineralExcavatedAmount(AmountResource mineral)
          Gets the total amount of a mineral that has been excavated so far.
 

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

Fields in org.mars_sim.msp.core.person.ai.task declared as AmountResource
protected  AmountResource CollectMinedMinerals.mineralType
           
protected  AmountResource CollectResources.resourceType
           
 

Methods in org.mars_sim.msp.core.person.ai.task with parameters of type AmountResource
static boolean CollectMinedMinerals.canCollectMinerals(Person person, Rover rover, AmountResource mineralType)
          Checks if a person can perform a CollectMinedMinerals task.
static boolean CollectResources.canCollectResources(Person person, Rover rover, Class containerType, AmountResource resourceType)
          Checks if a person can perform an CollectResources task.
 

Constructors in org.mars_sim.msp.core.person.ai.task with parameters of type AmountResource
CollectMinedMinerals(Person person, Rover rover, AmountResource mineralType)
          Constructor
CollectResources(String taskName, Person person, Rover rover, AmountResource resourceType, double collectionRate, double targettedAmount, double startingCargo, Class containerType)
          Constructor
 

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

Methods in org.mars_sim.msp.core.resource that return AmountResource
static AmountResource AmountResource.findAmountResource(String name)
          Finds an amount resource by name.
 

Methods in org.mars_sim.msp.core.resource that return types with arguments of type AmountResource
 Set<AmountResource> AmountResourceStorage.getAllAmountResourcesStored(boolean allowDirty)
          Gets all of the amount resources stored.
 Set<AmountResource> AmountResourceConfig.getAmountResources()
          Gets a set of all amount resources.
static Set<AmountResource> AmountResource.getAmountResources()
          Gets a ummutable set of all the amount resources.
 Map<AmountResource,Double> AmountResourceStorage.getAmountResourceTypeCapacities()
          Gets the amount resources and the type capacity for them.
 

Methods in org.mars_sim.msp.core.resource with parameters of type AmountResource
 void AmountResourceStorage.addAmountResourceTypeCapacity(AmountResource resource, double capacity)
          Adds capacity for a resource type.
 double AmountResourceStorage.getAmountResourceCapacity(AmountResource resource)
          Gets the storage capacity for a resource.
 double AmountResourceStorage.getAmountResourceRemainingCapacity(AmountResource resource)
          Gets the remaining capacity available for a resource.
 double AmountResourceStorage.getAmountResourceStored(AmountResource resource)
          Gets the amount of a resource stored.
 boolean AmountResourceStorage.hasAmountResourceCapacity(AmountResource resource)
          Checks if storage has capacity for a resource.
 void AmountResourceStorage.removeAmountResourceTypeCapacity(AmountResource resource, double capacity)
          Removes capacity for a resource type.
 void AmountResourceStorage.retrieveAmountResource(AmountResource resource, double amount)
          Retrieves an amount of a resource from storage.
 void AmountResourceStorage.storeAmountResource(AmountResource resource, double amount)
          Store an amount of a resource.
 

Uses of AmountResource in org.mars_sim.msp.core.structure
 

Methods in org.mars_sim.msp.core.structure that return types with arguments of type AmountResource
 Map<AmountResource,Double> SettlementTemplate.getResources()
          Gets a map of resources and amounts.
 

Methods in org.mars_sim.msp.core.structure with parameters of type AmountResource
 void SettlementTemplate.addAmountResource(AmountResource resource, double amount)
          Adds an amount of a type of resource.
 

Uses of AmountResource in org.mars_sim.msp.core.structure.building
 

Methods in org.mars_sim.msp.core.structure.building that return types with arguments of type AmountResource
 Map<AmountResource,Double> BuildingConfig.getInitialStorage(String buildingName)
          Gets a map of the initial resources stored in this building.
 Map<AmountResource,Double> BuildingConfig.getStorageCapacities(String buildingName)
          Gets a list of the building's resource capacities.
 

Uses of AmountResource in org.mars_sim.msp.core.structure.building.function
 

Methods in org.mars_sim.msp.core.structure.building.function that return AmountResource
 AmountResource FuelPowerSource.getFuelResource()
          Gets the amount resource used as fuel.
 

Methods in org.mars_sim.msp.core.structure.building.function that return types with arguments of type AmountResource
 Set<AmountResource> ResourceProcess.getInputResources()
          Gets the set of input resources.
 Set<AmountResource> ResourceProcess.getOutputResources()
          Gets the set of output resources.
 Map<AmountResource,Double> Storage.getResourceStorageCapacity()
          Gets a map of the resources this building is capable of storing and their amounts in kg.
 

Methods in org.mars_sim.msp.core.structure.building.function with parameters of type AmountResource
 void ResourceProcess.addMaxInputResourceRate(AmountResource resource, double rate, boolean ambient)
          Adds a maximum input resource rate if it doesn't already exist.
 void ResourceProcess.addMaxOutputResourceRate(AmountResource resource, double rate, boolean waste)
          Adds a maximum output resource rate if it doesn't already exist.
 double ResourceProcess.getMaxInputResourceRate(AmountResource resource)
          Gets the max input resource rate for a given resource.
 double ResourceProcess.getMaxOutputResourceRate(AmountResource resource)
          Gets the max output resource rate for a given resource.
 boolean ResourceProcess.isAmbientInputResource(AmountResource resource)
          Checks if resource is an ambient input.
 boolean ResourceProcess.isWasteOutputResource(AmountResource resource)
          Checks if resource is a waste output.
 

Uses of AmountResource in org.mars_sim.msp.core.structure.construction
 

Methods in org.mars_sim.msp.core.structure.construction that return types with arguments of type AmountResource
 Map<AmountResource,Double> ConstructionStageInfo.getResources()
          Gets the resources needed for the stage.
 

Uses of AmountResource in org.mars_sim.msp.core.vehicle
 

Methods in org.mars_sim.msp.core.vehicle that return AmountResource
abstract  AmountResource Vehicle.getFuelType()
          Gets the resource type that this vehicle uses for fuel.
 AmountResource LightUtilityVehicle.getFuelType()
           
 AmountResource Rover.getFuelType()
          Gets the resource type that this vehicle uses for fuel.
 



Copyright © 2009-2013. All Rights Reserved.