|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mars_sim.msp.simulation.person.ai.job.Job
org.mars_sim.msp.simulation.person.ai.job.Trader
public class Trader
| Field Summary |
|---|
| Fields inherited from class org.mars_sim.msp.simulation.person.ai.job.Job |
|---|
jobMissionJoins, jobMissionStarts, jobTasks |
| Constructor Summary | |
|---|---|
Trader()
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 |
|---|
public Trader()
| Method Detail |
|---|
public double getCapability(Person person)
getCapability in class Jobperson - the person to check.
public double getSettlementNeed(Settlement settlement)
getSettlementNeed in class Jobsettlement - the settlement in need.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||