Search in sources :

Example 1 with FirstEventWaveClientSystem

use of de.gg.game.systems.client.FirstEventWaveClientSystem in project ProjektGG by eskalon.

the class SlaveSession method init.

/**
 * {@inheritDoc}
 */
@Override
public void init(HashMap<Short, LobbyPlayer> players, @Nullable SavedGame savedGame) {
    super.init(players, savedGame);
    // Setup the client systems
    ProcessingSystem<Player> s;
    s = new FirstEventWaveClientSystem(eventBus, localNetworkId);
    s.init(world, sessionSetup.getSeed());
    this.playerSystems.add(s);
}
Also used : LobbyPlayer(de.gg.game.network.LobbyPlayer) Player(de.gg.game.model.entities.Player) FirstEventWaveClientSystem(de.gg.game.systems.client.FirstEventWaveClientSystem)

Aggregations

Player (de.gg.game.model.entities.Player)1 LobbyPlayer (de.gg.game.network.LobbyPlayer)1 FirstEventWaveClientSystem (de.gg.game.systems.client.FirstEventWaveClientSystem)1