コード例 #1
0
ファイル: Sector.cs プロジェクト: carriercomm/CubeWorld
		public void SetSectorGraphics(ISectorGraphics graphics)
		{
			if (this.sectorGraphics != null)
				this.sectorGraphics.SetSector(null);
			
			this.sectorGraphics = graphics;
			
			if (this.sectorGraphics != null)
				this.sectorGraphics.SetSector(this);
		}
コード例 #2
0
        public void SetSectorGraphics(ISectorGraphics graphics)
        {
            if (this.sectorGraphics != null)
            {
                this.sectorGraphics.SetSector(null);
            }

            this.sectorGraphics = graphics;

            if (this.sectorGraphics != null)
            {
                this.sectorGraphics.SetSector(this);
            }
        }
コード例 #3
0
 public void Clear()
 {
     world          = null;
     sectorGraphics = null;
 }
コード例 #4
0
ファイル: Sector.cs プロジェクト: carriercomm/CubeWorld
 public void Clear()
 {
     world = null;
     sectorGraphics = null;
 }