specifies parameters how a target can move during gameplay
More...
#include <Target.h>
specifies parameters how a target can move during gameplay
◆ TargetMovement() [1/3]
skr::pcg::TargetMovement::TargetMovement |
( |
| ) |
|
|
inline |
default constructor sets axis to (0,0,0) (no movement) and extend to default
◆ TargetMovement() [2/3]
skr::pcg::TargetMovement::TargetMovement |
( |
Vec3 |
a, |
|
|
float |
e |
|
) |
| |
|
inline |
constructor
- Parameters
-
a | axis to move on |
e | extend to move |
◆ TargetMovement() [3/3]
skr::pcg::TargetMovement::TargetMovement |
( |
uint8_t |
dir, |
|
|
float |
e |
|
) |
| |
|
inline |
constructor
- Parameters
-
dir | sets direction: 0 = axis; 1 = y-axis; 2 = z-axis |
e | extend to move |
◆ axis
Vec3 skr::pcg::TargetMovement::axis |
axis on which target can move
◆ extend
float skr::pcg::TargetMovement::extend |
maximum length a target can move in one direction
The documentation for this class was generated from the following file: