com.threerings.puzzle.client
Class PuzzleController.Updater
java.lang.Object
com.threerings.puzzle.client.PuzzleController.Updater
- All Implemented Interfaces:
- com.threerings.media.FrameParticipant
- Enclosing class:
- PuzzleController
protected class PuzzleController.Updater
- extends Object
- implements com.threerings.media.FrameParticipant
A special frame participant that handles the sending of puzzle progress updates. We can't
just register an interval for this because sometimes the clock goes backwards in time in
windows and our intervals don't get called for a long period of time which causes the
server to think the client is disconnected or cheating and resign them from the puzzle. God
bless you, Microsoft.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_lastProgressTick
public long _lastProgressTick
PuzzleController.Updater
protected PuzzleController.Updater()
tick
public void tick(long tickStamp)
- Specified by:
tick in interface com.threerings.media.FrameParticipant
needsPaint
public boolean needsPaint()
- Specified by:
needsPaint in interface com.threerings.media.FrameParticipant
getComponent
public Component getComponent()
- Specified by:
getComponent in interface com.threerings.media.FrameParticipant