|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.mars_sim.msp.simulation.structure.goods.CreditEvent
public class CreditEvent
A credit change event.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
CreditEvent(Settlement settlement1,
Settlement settlement2,
double credit)
Constructor |
Method Summary | |
---|---|
double |
getCredit()
Gets the credit amount. |
Settlement |
getSettlement1()
Gets the first settlement. |
Settlement |
getSettlement2()
Gets the second settlement. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreditEvent(Settlement settlement1, Settlement settlement2, double credit)
settlement1
- the first settlement.settlement2
- the second settlement.credit
- the credit amount (VP).Method Detail |
---|
public Settlement getSettlement1()
public Settlement getSettlement2()
public double getCredit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |