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

◆ CanHover()

bool Terraria.Mount.CanHover ( )
inline

Definition at line 2384 of file Mount.cs.

2385 {
2386 if (!_active || !_data.usesHover)
2387 {
2388 return false;
2389 }
2390 if (_type == 49)
2391 {
2392 return _frameState == 4;
2393 }
2394 if (!_data.usesHover)
2395 {
2396 return false;
2397 }
2398 return true;
2399 }
bool _active
Definition Mount.cs:331
MountData _data
Definition Mount.cs:287
int _frameState
Definition Mount.cs:301

References Terraria.Mount._active, Terraria.Mount._data, Terraria.Mount._frameState, Terraria.Mount._type, and Terraria.Mount.MountData.usesHover.

Referenced by Terraria.Mount.TryBeginningFlight().