Class AbstractServerModule
- java.lang.Object
-
- de.extio.spacecraft.shared.module.AbstractModule
-
- de.extio.spacecraft.shared.module.AbstractServerModule
-
- All Implemented Interfaces:
Module,ServerModule
public abstract class AbstractServerModule extends AbstractModule implements ServerModule
Root of all server modules
-
-
Field Summary
-
Fields inherited from class de.extio.spacecraft.shared.module.AbstractModule
LOGGER
-
-
Constructor Summary
Constructors Constructor Description AbstractServerModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonGameSessionFirstTurn(GameSession gameSession)voidonGameSessionStart(GameSession gameSession)voidonGameSessionUpdatePlayers(GameSession gameSession)voidonMessage(GameSession gameSession, UUID sender, AbstractMessage message)voidrunAfterEntities(GameSession gameSession)voidrunBeforeEntities(GameSession gameSession)-
Methods inherited from class de.extio.spacecraft.shared.module.AbstractModule
onActivate, onDeactivate, onLoad, onUnload, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.extio.spacecraft.shared.module.Module
getMessageSubscriptions, onActivate, onDeactivate, onLoad, onUnload
-
Methods inherited from interface de.extio.spacecraft.shared.module.ServerModule
getServerModuleType
-
-
-
-
Method Detail
-
runBeforeEntities
public void runBeforeEntities(GameSession gameSession)
- Specified by:
runBeforeEntitiesin interfaceServerModule
-
runAfterEntities
public void runAfterEntities(GameSession gameSession)
- Specified by:
runAfterEntitiesin interfaceServerModule
-
onGameSessionStart
public void onGameSessionStart(GameSession gameSession)
- Specified by:
onGameSessionStartin interfaceServerModule
-
onGameSessionFirstTurn
public void onGameSessionFirstTurn(GameSession gameSession)
- Specified by:
onGameSessionFirstTurnin interfaceServerModule
-
onGameSessionUpdatePlayers
public void onGameSessionUpdatePlayers(GameSession gameSession)
- Specified by:
onGameSessionUpdatePlayersin interfaceServerModule
-
onMessage
public void onMessage(GameSession gameSession, UUID sender, AbstractMessage message)
- Specified by:
onMessagein interfaceServerModule
-
-