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

◆ ToDirectionInt()

static int Terraria.Utils.ToDirectionInt ( this bool value)
inlinestatic

Definition at line 1416 of file Utils.cs.

1417 {
1418 if (!value)
1419 {
1420 return -1;
1421 }
1422 return 1;
1423 }

References System.value.