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

◆ DrawToolAllowActuators

bool Terraria.GameContent.UI.WiresUI.Settings.DrawToolAllowActuators
staticget

Definition at line 62 of file WiresUI.cs.

63 {
64 get
65 {
66 int type = Main.player[Main.myPlayer].inventory[Main.player[Main.myPlayer].selectedItem].type;
67 if (type == 3611)
68 {
70 }
71 if (type == 3625)
72 {
74 }
75 return _lastActuatorEnabled == 2;
76 }
77 }

Referenced by Terraria.GameContent.UI.WiresUI.WiresRadial.DrawCursorArea(), Terraria.GameContent.UI.WiresUI.WiresRadial.DrawFlower(), Terraria.GameContent.UI.WiresUI.WiresRadial.DrawLine(), and Terraria.GameContent.UI.WiresUI.WiresRadial.LineUpdate().