Terraria.WorldSections.SetSectionFramed C# (CSharp) Méthode

SetSectionFramed() public méthode

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