net.sourceforge.simplegamenet.framework
Class EngineImpl

java.lang.Object
  extended bynet.sourceforge.simplegamenet.framework.EngineImpl
All Implemented Interfaces:
net.sourceforge.simplegamenet.specs.Engine
Direct Known Subclasses:
ClientEngineImpl, ServerEngineImpl

public abstract class EngineImpl
extends Object
implements net.sourceforge.simplegamenet.specs.Engine


Field Summary
protected  net.sourceforge.simplegamenet.specs.GameFactory gameFactory
           
protected  net.sourceforge.simplegamenet.specs.GameSettings gameSettings
           
protected  int gameState
           
protected static int NOT_PLAYING
           
protected  net.sourceforge.simplegamenet.specs.PlayerSettingsMap playerSettingsMap
           
protected static int PLAYING
           
protected static int WAITING_FOR_END_CONFIRMATION
           
 
Constructor Summary
protected EngineImpl(net.sourceforge.simplegamenet.specs.GameFactory gameFactory, net.sourceforge.simplegamenet.specs.GameSettings gameSettings, net.sourceforge.simplegamenet.specs.PlayerSettingsMap playerSettingsMap)
           
 
Method Summary
 net.sourceforge.simplegamenet.specs.GameFactory getGameFactory()
           
 net.sourceforge.simplegamenet.specs.GameSettings getGameSettings()
           
 net.sourceforge.simplegamenet.specs.PlayerSettingsMap getPlayerSettingsMap()
           
 boolean isGamePlaying()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOT_PLAYING

protected static final int NOT_PLAYING
See Also:
Constant Field Values

PLAYING

protected static final int PLAYING
See Also:
Constant Field Values

WAITING_FOR_END_CONFIRMATION

protected static final int WAITING_FOR_END_CONFIRMATION
See Also:
Constant Field Values

gameFactory

protected net.sourceforge.simplegamenet.specs.GameFactory gameFactory

gameSettings

protected net.sourceforge.simplegamenet.specs.GameSettings gameSettings

playerSettingsMap

protected net.sourceforge.simplegamenet.specs.PlayerSettingsMap playerSettingsMap

gameState

protected int gameState
Constructor Detail

EngineImpl

protected EngineImpl(net.sourceforge.simplegamenet.specs.GameFactory gameFactory,
                     net.sourceforge.simplegamenet.specs.GameSettings gameSettings,
                     net.sourceforge.simplegamenet.specs.PlayerSettingsMap playerSettingsMap)
Method Detail

getGameFactory

public net.sourceforge.simplegamenet.specs.GameFactory getGameFactory()
Specified by:
getGameFactory in interface net.sourceforge.simplegamenet.specs.Engine

getGameSettings

public net.sourceforge.simplegamenet.specs.GameSettings getGameSettings()
Specified by:
getGameSettings in interface net.sourceforge.simplegamenet.specs.Engine

getPlayerSettingsMap

public net.sourceforge.simplegamenet.specs.PlayerSettingsMap getPlayerSettingsMap()
Specified by:
getPlayerSettingsMap in interface net.sourceforge.simplegamenet.specs.Engine

isGamePlaying

public boolean isGamePlaying()
Specified by:
isGamePlaying in interface net.sourceforge.simplegamenet.specs.Engine


Copyright © 2003-2004 The 3 Belgians. All Rights Reserved.