|
sgdk
|
Collision definition union. More...
#include <sprite_eng.h>
Collision definition union.
| typeHit | Collision type for hit collision: Allowed values are COLLISION_TYPE_BOX or COLLISION_TYPE_CIRCLE. |
| typeAttack | Collision type for attack collision (can be used as alternative hit collision): Allowed values are COLLISION_TYPE_BOX or COLLISION_TYPE_CIRCLE. |
| box | BoxCollision definition if type = COLLISION_TYPE_BOX |
| circle | CircleCollision definition if type = COLLISION_TYPE_CIRCLE |
| inner | if current collision is verified then we test inner for more precise collision if needed |
| next | if current collision is not verified then we test next for next collision if needed |