1516171819202122232425
protected final GameEventHandler eventHandler; protected final Game game; public GameServer(Game game, GameEventHandler handler) { server = new NetServer(); server.setEventHandler(this); eventHandler = handler; this.game = game;