sgdk
Collision Struct Reference

Collision definition union. More...

#include <sprite_eng.h>


Detailed Description

Collision definition union.

Parameters:
typeHitCollision type for hit collision:
Allowed values are COLLISION_TYPE_BOX or COLLISION_TYPE_CIRCLE.
typeAttackCollision type for attack collision (can be used as alternative hit collision):
Allowed values are COLLISION_TYPE_BOX or COLLISION_TYPE_CIRCLE.
boxBoxCollision definition if type = COLLISION_TYPE_BOX
circleCircleCollision definition if type = COLLISION_TYPE_CIRCLE
innerif current collision is verified then we test inner for more precise collision if needed
nextif current collision is not verified then we test next for next collision if needed

The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines