|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Animal | +--Sessile | +--ShortLivedSessile | +--Anemone
This class provides ability to print A for anemone objects and creates new Anemone objects for reproduction
Constructor Summary | |
Anemone()
|
Method Summary | |
ShortLivedSessile |
getNewShortLivedSessile()
provides new Anemone object for reproduction function in ancestor class |
char |
getPrintChar()
provides print character for Anemone 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 Anemone()
Method Detail |
public char getPrintChar()
public ShortLivedSessile getNewShortLivedSessile()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |