|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgame.PeriodicText
public class PeriodicText
| Constructor Summary | |
|---|---|
PeriodicText(java.lang.String message,
int period)
|
|
PeriodicText(java.lang.String message,
int period,
int maxOccurences)
Set up a periodic message |
|
| Method Summary | |
|---|---|
void |
die()
C'est finis. |
boolean |
isDone()
Is the object done being animated? |
boolean |
tick(int deltaTms)
Advance time by the specified amount. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PeriodicText(java.lang.String message,
int period,
int maxOccurences)
message - The message to be displayedperiod - The period in milliseconds
public PeriodicText(java.lang.String message,
int period)
| Method Detail |
|---|
public void die()
Animated
die in interface Animatedpublic boolean isDone()
Animated
isDone in interface Animatedpublic boolean tick(int deltaTms)
Animated
tick in interface AnimateddeltaTms - time tick in milliseconds
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||