public void SetSectorGraphics(ISectorGraphics graphics) { if (this.sectorGraphics != null) this.sectorGraphics.SetSector(null); this.sectorGraphics = graphics; if (this.sectorGraphics != null) this.sectorGraphics.SetSector(this); }
public void SetSectorGraphics(ISectorGraphics graphics) { if (this.sectorGraphics != null) { this.sectorGraphics.SetSector(null); } this.sectorGraphics = graphics; if (this.sectorGraphics != null) { this.sectorGraphics.SetSector(this); } }
public void Clear() { world = null; sectorGraphics = null; }