PCG Lib
Library for procedural content generation
|
Go to the documentation of this file. 1 #ifndef SKR_PCG_TARGET_H
2 #define SKR_PCG_TARGET_H
94 #endif // !SKR_PCG_TARGET_H
TargetMovement _movement
target movement
Definition: Target.h:65
Target(TargetMovement mov=TargetMovement())
default constructor
Definition: Target.cpp:5
float _width
extend of the target in x-axis
Definition: Target.h:61
float _height
extend of the target in y-axis
Definition: Target.h:62
float _length
extend of the target in z-axis
Definition: Target.h:63
TargetMovement(Vec3 a, float e)
constructor
Definition: Target.h:28
float extend
maximum length a target can move in one direction
Definition: Target.h:17
specifies are target in a level to hit
Definition: Target.h:58
Vec3 _position
position
Definition: Target.h:60
constexpr float PCG_DEFAULT_TARGET_MOVEMENT_MAX_EXTEND
default extend to which a target can move at maxmium
Definition: Definitions.h:63
TargetMovement()
default constructor sets axis to (0,0,0) (no movement) and extend to default
Definition: Target.h:21
Definition: Definitions.h:7
TargetMovement(uint8_t dir, float e)
constructor
Definition: Target.h:35
Vec3 axis
axis on which target can move
Definition: Target.h:16
specifies parameters how a target can move during gameplay
Definition: Target.h:15
Point3d Vec3
Definition: Definitions.h:17