| 
    PCG Lib
    
   Library for procedural content generation 
   | 
 
specifies are target in a level to hit More...
#include <Target.h>
Public Member Functions | |
| Target (TargetMovement mov=TargetMovement()) | |
| default constructor  More... | |
| Target (Vec3 pos, TargetMovement mov=TargetMovement()) | |
| constructor  More... | |
| Target (Vec3 pos, float w, float h, float l, TargetMovement mov=TargetMovement()) | |
| constructor  More... | |
| Target (Vec3 pos, Vec3 size, TargetMovement mov=TargetMovement()) | |
| constructor  More... | |
Public Attributes | |
| Vec3 | _position | 
| position  More... | |
| float | _width | 
| extend of the target in x-axis  More... | |
| float | _height | 
| extend of the target in y-axis  More... | |
| float | _length | 
| extend of the target in z-axis  More... | |
| TargetMovement | _movement | 
| target movement  More... | |
specifies are target in a level to hit
| skr::pcg::Target::Target | ( | TargetMovement | mov = TargetMovement() | ) | 
default constructor
| mov | target movement, default uses its default constructor | 
| skr::pcg::Target::Target | ( | Vec3 | pos, | 
| TargetMovement | mov = TargetMovement()  | 
        ||
| ) | 
constructor
| pos | position of the target | 
| mov | target movement, default uses its default constructor | 
| skr::pcg::Target::Target | ( | Vec3 | pos, | 
| float | w, | ||
| float | h, | ||
| float | l, | ||
| TargetMovement | mov = TargetMovement()  | 
        ||
| ) | 
constructor
| pos | position of the target | 
| w | width | 
| h | height | 
| l | length | 
| mov | target movement, default uses its default constructor | 
| skr::pcg::Target::Target | ( | Vec3 | pos, | 
| Vec3 | size, | ||
| TargetMovement | mov = TargetMovement()  | 
        ||
| ) | 
constructor
| pos | position of the target | 
| size | width, height, length | 
| mov | target movement, default uses its default constructor | 
| float skr::pcg::Target::_height | 
extend of the target in y-axis
| float skr::pcg::Target::_length | 
extend of the target in z-axis
| TargetMovement skr::pcg::Target::_movement | 
target movement
| Vec3 skr::pcg::Target::_position | 
position
| float skr::pcg::Target::_width | 
extend of the target in x-axis
 1.8.18