org.mars_sim.msp.core.person.ai.job
Class Meteorologist

java.lang.Object
  extended by org.mars_sim.msp.core.person.ai.job.Job
      extended by org.mars_sim.msp.core.person.ai.job.Meteorologist
All Implemented Interfaces:
Serializable

public class Meteorologist
extends Job
implements Serializable

The Meteorologist class represents a job for a meteorologist.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mars_sim.msp.core.person.ai.job.Job
jobMissionJoins, jobMissionStarts, jobTasks
 
Constructor Summary
Meteorologist()
          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.core.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

Meteorologist

public Meteorologist()
Constructor

Method Detail

getCapability

public double getCapability(Person person)
Description copied from class: Job
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)
Description copied from class: Job
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


Copyright © 2009-2013. All Rights Reserved.