|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cad.simcad.worldsimulator.world.DefaultOwner
A Default implementation of the Owner interface
Constructor Summary | |
DefaultOwner()
Creates a new instance of DefaultOwner |
Method Summary | |
AgeContext |
getAgeContext()
Returns the age id for this Genomable |
java.awt.Color |
getColor()
Returns the Color for this Owner This method is here to show that the Owner can be usefull on the top of Genomables |
Genomable |
getGenomable()
Returns the Genomable of this Owner |
void |
setAgeContext(AgeContext ac)
Set the AgeContext for this Genomable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultOwner()
Method Detail |
public java.awt.Color getColor()
getColor
in interface Owner
public Genomable getGenomable()
getGenomable
in interface Owner
public AgeContext getAgeContext()
getAgeContext
in interface Owner
public void setAgeContext(AgeContext ac)
setAgeContext
in interface Owner
ac
- the new AgeContext
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |