|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSprite
vooga.widget.counter.Counter
public class Counter
Counter displays the images for a countdown to the start of the game
Constructor Summary | |
---|---|
Counter(int startPoint,
int timePerImage,
int timeAtEnd,
int width,
CounterEvent event)
Creats a counter to countdown to something then switch states. |
Method Summary | |
---|---|
void |
update(long elapsedTime)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Counter(int startPoint, int timePerImage, int timeAtEnd, int width, CounterEvent event)
startPoint
- - the number to start at.timePerImage
- - time to spend on each image of the countertimeAtEnd
- - time to spend on the last image of the counterwidth
- - width of the images, scales the height to this widthevent
- - triggers event when the counter is overMethod Detail |
---|
public void update(long elapsedTime)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |