net.sourceforge.simplegamenet.framework.model
Class EngineImpl

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

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


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

Field Detail

GAME_NOT_PLAYING

protected static final int GAME_NOT_PLAYING
See Also:
Constant Field Values

GAME_STARTING

protected static final int GAME_STARTING
See Also:
Constant Field Values

GAME_PLAYING

protected static final int GAME_PLAYING
See Also:
Constant Field Values

GAME_STOPPING

protected static final int GAME_STOPPING
See Also:
Constant Field Values

GAME_ABORTING

protected static final int GAME_ABORTING
See Also:
Constant Field Values

gameFactory

protected net.sourceforge.simplegamenet.specs.model.GameFactory gameFactory

gameSettings

protected net.sourceforge.simplegamenet.specs.to.GameSettings gameSettings

playerSettingsMap

protected net.sourceforge.simplegamenet.specs.to.PlayerSettingsMap playerSettingsMap

gameState

protected int gameState
Constructor Detail

EngineImpl

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

getGameFactory

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

getGameSettings

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

getPlayerSettingsMap

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

isGamePlaying

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


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