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

◆ LoopHorizontalLineLinks()

void Terraria.GameContent.UI.States.UIWorldCreation.LoopHorizontalLineLinks ( UILinkPoint[] pointsLine)
inlineprivate

Definition at line 1007 of file UIWorldCreation.cs.

1008 {
1009 for (int i = 1; i < pointsLine.Length - 1; i++)
1010 {
1011 pointsLine[i - 1].Right = pointsLine[i].ID;
1012 pointsLine[i].Left = pointsLine[i - 1].ID;
1013 pointsLine[i].Right = pointsLine[i + 1].ID;
1014 pointsLine[i + 1].Left = pointsLine[i].ID;
1015 }
1016 }

Referenced by Terraria.GameContent.UI.States.UIWorldCreation.SetupGamepadPoints().