public Controller( ILogicObject areasGroup, WorldMapController worldMapController) { this.areasGroup = areasGroup; this.worldMapController = worldMapController; this.stateSubscriptionStorage = new StateSubscriptionStorage(); var groupPublicState = LandClaimAreasGroup.GetPublicState(areasGroup); groupPublicState.ClientSubscribe( o => o.LastRaidTime, this.RefreshRaidedState, this.stateSubscriptionStorage); this.RefreshRaidedState(); }
public ClientWorldMapLandClaimsGroupVisualizer(WorldMapController worldMapController) { this.worldMapController = worldMapController; }