Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetTreeFrame()

static int Terraria.WorldGen.GetTreeFrame ( Tile t)
inlinestatic

Definition at line 53713 of file WorldGen.cs.

53714 {
53715 if (t.frameY == 220)
53716 {
53717 return 1;
53718 }
53719 if (t.frameY == 242)
53720 {
53721 return 2;
53722 }
53723 return 0;
53724 }

References Terraria.Tile.frameY.

Referenced by Terraria.GameContent.Drawing.TileDrawing.DrawTrees().