org.cb.jset.client
Class GameEvent

java.lang.Object
  extended byorg.cb.jset.client.GameEvent

public class GameEvent
extends java.lang.Object

Represents game events, including start and end.

Version:
$Id: GameEvent.java 123 2004-04-14 23:45:53Z jerome $
Author:
jerome@coffeebreaks.org - last modified by $LastChangedBy: jerome $

Field Summary
static int END
          Used to identify game ends.
static int START
          Used to identify game starts.
 
Constructor Summary
GameEvent(int type)
          Constructs a game event given the specified type.
 
Method Summary
 int getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

START

public static final int START
Used to identify game starts.

See Also:
Constant Field Values

END

public static final int END
Used to identify game ends.

See Also:
Constant Field Values
Constructor Detail

GameEvent

public GameEvent(int type)
Constructs a game event given the specified type.

Parameters:
type - the type of the event.
Method Detail

getType

public int getType()
Returns:
the type of the event.


Copyright © 2004 CoffeeBreaks. All Rights Reserved.