void HandleMessage(WorldDataMessage msg) { m_world = new World(msg.WorldData); m_reportHandler = new ReportHandler(m_world); m_changeHandler = new ChangeHandler(m_world); m_world.TurnEnded += OnTurnEnded; m_world.TurnStarted += OnTurnStarted; }
void HandleMessage(WorldDataMessage msg) { m_world = new World(msg.WorldData, this.PlayerID); m_reportHandler = new ReportHandler(m_world); m_changeHandler = new ChangeHandler(m_world); }