![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Contains data for when the behavior type is SpinInPlace. More...
#include <Behavior.hpp>
Public Types | |
enum | Direction : std::uint8_t { Clockwise = 0 , Counterclockwise = 1 , Random = 2 } |
The direction to spin. More... | |
Public Member Functions | |
Spinning (Direction dir) | |
Creates the data. More... | |
Spinning () | |
Spin randomly. More... | |
Public Attributes | |
enum core::file::Behavior::Spinning::Direction | spinDir |
Contains data for when the behavior type is SpinInPlace.
Definition at line 49 of file Behavior.hpp.
enum core::file::Behavior::Spinning::Direction : std::uint8_t |
The direction to spin.
Enumerator | |
---|---|
Clockwise | The character spins clockwise. |
Counterclockwise | The character spins counterclockwise. |
Random | The character spins randomly. |
Definition at line 51 of file Behavior.hpp.
core::file::Behavior::Spinning::Spinning | ( | Direction | dir | ) |
Creates the data.
Definition at line 127 of file Behavior.cpp.
core::file::Behavior::Spinning::Spinning | ( | ) |
Spin randomly.
Definition at line 124 of file Behavior.cpp.
enum core::file::Behavior::Spinning::Direction core::file::Behavior::Spinning::spinDir |