public VisibleSectorsStrategyRadius(SectorManagerUnity sectorManagerUnity, SectorManager sectorManager, Player player, PlayerUnity playerUnity) { this.sectorManager = sectorManager; this.player = player; this.playerUnity = playerUnity; this.sectorManagerUnity = sectorManagerUnity; }
public CubeWorld(ICWListener cwListener, ICWFxListener fxListener) { this.cwListener = cwListener; this.fxListener = fxListener; this.sectorManager = new SectorManager(this); this.tileManager = new TileManager(this); this.itemManager = new ItemManager(this); this.avatarManager = new AvatarManager(this); this.dayCycleManager = new DayCycleManager(this); }
public VisibleSectorsStrategyAll(SectorManagerUnity sectorManagerUnity, SectorManager sectorManager) { foreach (Sector sector in sectorManager.sectors) sectorManagerUnity.GetSectorUnityFromCache(sector); }
public void Clear() { stats = null; sectorManager.Clear(); sectorManager = null; tileManager.Clear(); tileManager = null; itemManager.Clear(); itemManager = null; avatarManager.Clear(); avatarManager = null; dayCycleManager.Clear(); dayCycleManager = null; gameplay.Clear(); gameplay = null; }