![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Special system to manage player flight between their current location and a town. More...
#include <Flight.hpp>
Public Member Functions | |
Flight (Systems &systems) | |
Construct a new Flight system. More... | |
virtual | ~Flight ()=default |
Destroys the system. More... | |
bool | flying () const |
Returns whether or not the player is currently flying. More... | |
bool | startFlight (unsigned int destSpawn) |
Starts flight to the given spawn. More... | |
Special system to manage player flight between their current location and a town.
Definition at line 21 of file Flight.hpp.
core::system::Flight::Flight | ( | Systems & | systems | ) |
Construct a new Flight system.
systems | The main game systems |
Definition at line 39 of file Flight.cpp.
|
virtualdefault |
Destroys the system.
bool core::system::Flight::flying | ( | ) | const |
Returns whether or not the player is currently flying.
Definition at line 48 of file Flight.cpp.
bool core::system::Flight::startFlight | ( | unsigned int | destSpawn | ) |
Starts flight to the given spawn.
destSpawn | The spawn to fly to |
Definition at line 50 of file Flight.cpp.
FlyState core::system::Flight::flyState |
Definition at line 96 of file Flight.hpp.
HoldState core::system::Flight::holdState |
Definition at line 97 of file Flight.hpp.
RiseState core::system::Flight::riseState |
Definition at line 94 of file Flight.hpp.
RotateState core::system::Flight::rotateState |
Definition at line 95 of file Flight.hpp.