org.mars_sim.msp.simulation.person.ai.job
Class Botanist

java.lang.Object
  extended by org.mars_sim.msp.simulation.person.ai.job.Job
      extended by org.mars_sim.msp.simulation.person.ai.job.Botanist
All Implemented Interfaces:
java.io.Serializable

public class Botanist
extends Job
implements java.io.Serializable

The Botanist class represents a job for a botanist.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mars_sim.msp.simulation.person.ai.job.Job
jobMissionJoins, jobMissionStarts, jobTasks
 
Constructor Summary
Botanist()
          Constructor
 
Method Summary
 double getCapability(Person person)
          Gets a person's capability to perform this job.
 double getSettlementNeed(Settlement settlement)
          Gets the base settlement need for this job.
 
Methods inherited from class org.mars_sim.msp.simulation.person.ai.job.Job
getJoinMissionProbabilityModifier, getName, getStartMissionProbabilityModifier, getStartTaskProbabilityModifier, isJobRelatedTask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Botanist

public Botanist()
Constructor

Method Detail

getCapability

public double getCapability(Person person)
Gets a person's capability to perform this job.

Specified by:
getCapability in class Job
Parameters:
person - the person to check.
Returns:
capability (min 0.0).

getSettlementNeed

public double getSettlementNeed(Settlement settlement)
Gets the base settlement need for this job.

Specified by:
getSettlementNeed in class Job
Parameters:
settlement - the settlement in need.
Returns:
the base need >= 0