org.cb.jset.client
Class AbstractGame
java.lang.Object
org.cb.jset.client.AbstractGame
- All Implemented Interfaces:
- SetGame
- Direct Known Subclasses:
- LocalGame, NetworkGame
- public abstract class AbstractGame
- extends java.lang.Object
- implements SetGame
An abstract SetGame
, responsible of the event management.
- Version:
- $Id: AbstractGame.java 123 2004-04-14 23:45:53Z jerome $
- Author:
- jerome@coffeebreaks.org - last modified by $LastModifiedBy$
Field Summary |
protected javax.swing.event.EventListenerList |
_listenerList
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_listenerList
protected final javax.swing.event.EventListenerList _listenerList
AbstractGame
public AbstractGame()
addBoardListener
public void addBoardListener(SetGameBoardListener listener)
- Specified by:
addBoardListener
in interface SetGame
removeBoardListener
public void removeBoardListener(SetGameBoardListener listener)
- Specified by:
removeBoardListener
in interface SetGame
addGameListener
public void addGameListener(SetGameListener listener)
- Specified by:
addGameListener
in interface SetGame
removeGameListener
public void removeGameListener(SetGameListener listener)
- Specified by:
removeGameListener
in interface SetGame
fireGameChange
protected void fireGameChange(GameEvent event)
fireCardsAdded
protected void fireCardsAdded(CardProperties[] cards)
fireSetRemoved
protected void fireSetRemoved(CardSet set)
Copyright © 2004 CoffeeBreaks. All Rights Reserved.