File : Ammo.hpp License: MIT Author : Elias Josué HAJJAR LLAUQUEN elias-josue.hajjar-llauquen@epitech...
CollisionShape
Enum representing different shapes of hitboxes.
CollisionType
Enum representing different types of collision behaviors.
@ Solid
Solid object, blocks movement.
@ Heal
Healing object, restores health on contact.
@ Trigger
Trigger object, activates events on contact.
Component representing damage value.
Component representing a rectangular hitbox.
CollisionShape shape
Shape of the hitbox.
float offsetY
Y offset from the entity's position.
float width
Width of the hitbox.
float offsetX
X offset from the entity's position.
float radius
Radius for circular hitboxes.
CollisionType collisionType
Type of collision behavior.
float height
Height of the hitbox.