|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.user.client.Timer
us.asciiroth.client.core.AnimationManager
public class AnimationManager
The class that executes the animation timeline, using an AnimationProxy to bridge between the immutable nature of game pieces (all instances of a piece on the board are the same piece) and their occurrence at specific places and at different moments on the animation timeline (each instance has unique animation-based state in the proxy).
| Constructor Summary | |
|---|---|
AnimationManager()
Constructor. |
|
| Method Summary | |
|---|---|
void |
onGamePaused()
The game has been paused. |
void |
onGameResumed()
The game has been resumed. |
void |
run()
Main animation loop. |
| Methods inherited from class com.google.gwt.user.client.Timer |
|---|
cancel, schedule, scheduleRepeating |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnimationManager()
| Method Detail |
|---|
public void onGamePaused()
onGamePaused in interface GameListenerpublic void onGameResumed()
onGameResumed in interface GameListenerpublic void run()
run in class com.google.gwt.user.client.Timer
|
0.7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
© 2009 Alx Dark