|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Animal | +--Sessile | +--ShortLivedSessile | +--Hydroid
This class provides ability to print Y for Hydroid objects and creates new Hydroid objects for reproduction
Constructor Summary | |
Hydroid()
|
Method Summary | |
ShortLivedSessile |
getNewShortLivedSessile()
provides new Hydroid object for reproduction function in ancestor class |
char |
getPrintChar()
provides print character for Hydroid object |
Methods inherited from class ShortLivedSessile |
buds |
Methods inherited from class Sessile |
makeMove |
Methods inherited from class Animal |
getAge,
getmaxAge,
incrAge,
setmaxAge,
timeToDie |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Hydroid()
Method Detail |
public ShortLivedSessile getNewShortLivedSessile()
public char getPrintChar()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |