org.mars_sim.msp.core.person.ai.job
Class Doctor
java.lang.Object
org.mars_sim.msp.core.person.ai.job.Job
org.mars_sim.msp.core.person.ai.job.Doctor
- All Implemented Interfaces:
- Serializable
public class Doctor
- extends Job
- implements Serializable
The Doctor class represents a job for an medical treatment expert.
- See Also:
- Serialized Form
|
Constructor Summary |
Doctor()
Constructor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Doctor
public Doctor()
- Constructor
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
Copyright © 2009-2013. All Rights Reserved.