spellcast.event
Class GameSyncEvent

java.lang.Object
  extended by spellcast.event.GameSyncEvent
All Implemented Interfaces:
java.io.Serializable, GameEvent

public class GameSyncEvent
extends java.lang.Object
implements GameEvent, java.io.Serializable

A Game Sync Event contains the game state for the specified client as synchronised with the server.

Author:
Barrie Treloar
See Also:
Serialized Form

Constructor Summary
GameSyncEvent(Game game)
          Create an GameSyncEvent
 
Method Summary
 Game getGame()
          Get the value of game.
 void setGame(Game v)
          Set the value of game.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameSyncEvent

public GameSyncEvent(Game game)
Create an GameSyncEvent

Method Detail

getGame

public Game getGame()
Get the value of game.

Returns:
value of game.

setGame

public void setGame(Game v)
Set the value of game.

Parameters:
v - Value to assign to game.


Copyright © 2001-2005 Spellcast. All Rights Reserved.