8#include "DSCEngine/sprites/obj_size.hpp"
31 Hitbox(
char left,
char top,
char width,
char height);
37 } __attribute__((packed));
Rectangular hitbox for 2d entities.
Definition: hitbox.hpp:15
Hitbox()
creates an empty hitbox
Hitbox(char left, char top, char width, char height)
creates a Hitbox instance
Hitbox(DSC::ObjSize size)
creates hitbox component that fits an object size type