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 void
onGameSessionFirstTurn(GameSession gameSession)
void
onGameSessionStart(GameSession gameSession)
void
onGameSessionUpdatePlayers(GameSession gameSession)
void
onMessage(GameSession gameSession, UUID sender, AbstractMessage message)
void
runAfterEntities(GameSession gameSession)
void
runBeforeEntities(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:
runBeforeEntities
in interfaceServerModule
-
runAfterEntities
public void runAfterEntities(GameSession gameSession)
- Specified by:
runAfterEntities
in interfaceServerModule
-
onGameSessionStart
public void onGameSessionStart(GameSession gameSession)
- Specified by:
onGameSessionStart
in interfaceServerModule
-
onGameSessionFirstTurn
public void onGameSessionFirstTurn(GameSession gameSession)
- Specified by:
onGameSessionFirstTurn
in interfaceServerModule
-
onGameSessionUpdatePlayers
public void onGameSessionUpdatePlayers(GameSession gameSession)
- Specified by:
onGameSessionUpdatePlayers
in interfaceServerModule
-
onMessage
public void onMessage(GameSession gameSession, UUID sender, AbstractMessage message)
- Specified by:
onMessage
in interfaceServerModule
-
-