Terraria.WorldSections.WorldSections C# (CSharp) Method

WorldSections() public method

public WorldSections ( int numSectionsX, int numSectionsY ) : Microsoft.Xna.Framework
numSectionsX int
numSectionsY int
return Microsoft.Xna.Framework
        public WorldSections(int numSectionsX, int numSectionsY)
        {
            this.width = numSectionsX;
            this.height = numSectionsY;
            this.data = new BitsByte[this.width * this.height];
            this.mapSectionsLeft = this.width * this.height;
            this.prevFrame.Reset();
            this.prevMap.Reset();
        }