Terraria.WorldSections.SetSectionLoaded C# (CSharp) Method

SetSectionLoaded() public method

public SetSectionLoaded ( int x, int y ) : void
x int
y int
return void
        public void SetSectionLoaded(int x, int y)
        {
            if (x < 0 || x >= this.width || (y < 0 || y >= this.height) || this.data[y * this.width + x][0])
                return;
            this.data[y * this.width + x][0] = true;
            ++this.frameSectionsLeft;
        }