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

◆ Active

bool Terraria.DataStructures.ExtraJumpState.Active
get

Whether any effects (e.g. spawning dusts) should be performed after consuming the extra jump, but before its duration runs out.
This property returns true while the extra jump is in progress, and returns false otherwise.
While an extra jump is in progress, M:Terraria.ModLoader.ExtraJump.UpdateHorizontalSpeeds(Terraria.Player) and M:Terraria.ModLoader.ExtraJump.ShowVisuals(Terraria.Player) will be executed.
This property also checks P:Terraria.DataStructures.ExtraJumpState.Enabled when read.

Definition at line 70 of file ExtraJumpState.cs.

71 {
72 get
73 {
74 if (Enabled)
75 {
76 return _active;
77 }
78 return false;
79 }
80 }
bool Enabled
Whether the extra jump can be used. This property is set by M:Terraria.DataStructures....