sgdk: Collision Struct Reference

sgdk

- Main Page
- Related Pages
- Classes
- Files

- Class List

Collision Struct Reference

Collision definition union. More...

`#include <sprite_eng.h>`

## Detailed Description

Collision definition union.

Parameters:

  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

The documentation for this struct was generated from the following file:

- sprite_eng.h

All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines