Added tick services to EZGame.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@82 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2006-10-02 07:39:31 +00:00
parent a82fc55fa4
commit 6472cf6f80
11 changed files with 295 additions and 2 deletions
@@ -110,6 +110,19 @@ public interface EZGame
public void sendMessage (
String messageName, Object value, int playerIndex);
/**
* Start the ticker with the specified name. It will deliver
* messages to the game object at the specified delay,
* the value of each message being a single integer, starting with 0
* and increasing by one with each messsage.
*/
public void startTicker (String tickerName, int msOfDelay);
/**
* Stop the specified ticker.
*/
public void stopTicker (String tickerName);
/**
* Send a message that will be heard by everyone in the game room,
* even observers.