TileCollisionParams struct
#include <Jazz2/Tiles/TileCollisionParams.h>
Describes how the object interacts and collides with the environment.
In/out parameter bundle passed to tile-map collision tests: it supplies the destruction type, movement direction/speed and weapon type/strength, and on return reports the number of tiles destroyed.
Public variables
- TileDestructType DestructType
- Destruction type.
- bool Downwards
- Whether movement direction is downwards.
- WeaponType UsedWeaponType
- Used weapon type.
-
std::
int32_t WeaponStrength - Remaining weapon strength.
- float Speed
- Movement speed.
-
std::
int32_t TilesDestroyed - Number of destroyed tiles.