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

◆ Step_Movement()

void Terraria.GameContent.ChromaHotkeyPainter.Step_Movement ( )
inlineprivate

Definition at line 372 of file ChromaHotkeyPainter.cs.

373 {
375 bool flag = _player.frozen || _player.tongued || _player.webbed || _player.stoned;
377 {
379 }
380 else if (flag)
381 {
382 SetGroupColorBase(wasdKeys, PainterColors.DangerKeyBlocked);
383 }
384 else
385 {
386 SetGroupColorBase(wasdKeys, PainterColors.MovementKeys);
387 }
388 }
void SetGroupColorBase(List< PaintKey > keys, Color color)

References Terraria.GameContent.ChromaHotkeyPainter._player, Terraria.GameContent.ChromaHotkeyPainter._wasdKeys, Terraria.GameContent.ChromaHotkeyPainter.PainterColors.DangerKeyBlocked, Terraria.Player.DeadOrGhost, Terraria.GameContent.ChromaHotkeyPainter.PainterColors.MovementKeys, Terraria.GameContent.ChromaHotkeyPainter.SetGroupClear(), Terraria.GameContent.ChromaHotkeyPainter.SetGroupColorBase(), and Terraria.Player.stoned.

Referenced by Terraria.GameContent.ChromaHotkeyPainter.Update().