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

◆ UpdatePlatePosition()

static void Terraria.GameContent.PressurePlateHelper.UpdatePlatePosition ( Point location,
int player,
bool onIt )
inlinestaticprivate

Definition at line 103 of file PressurePlateHelper.cs.

104 {
105 if (onIt)
106 {
107 MoveInto(location, player);
108 }
109 else
110 {
111 MoveAwayFrom(location, player);
112 }
113 }
static void MoveAwayFrom(Point location, int player)
static void MoveInto(Point location, int player)

References Terraria.GameContent.PressurePlateHelper.MoveAwayFrom(), and Terraria.GameContent.PressurePlateHelper.MoveInto().