14 #ifndef GK_HITBOXCOMPONENT_HPP_ 15 #define GK_HITBOXCOMPONENT_HPP_ 63 #endif // GK_HITBOXCOMPONENT_HPP_
const FloatRect * currentHitbox() const
HitboxComponent(s8 currentHitboxID=0)
HitboxComponent(s16 x, s16 y, u16 width, u16 height)
void addHitbox(s16 x, s16 y, u16 width, u16 height)
std::vector< FloatRect > m_hitboxes
#define EXCEPTION(args...)
Utility class for manipulating 2D axis aligned rectangles.
void setCurrentHitbox(u8 id)
void resetCurrentHitbox()