new ()
read onlybottom:Float = 0
box:Rect
collidingWith:Array<Entity> = []
read onlyleft:Float = 0
onCollideStart:Event<Entity ‑> Void>
onCollideStop:Event<Entity ‑> Void>
onCollidingWith:Event<Entity ‑> Void>
read onlyright:Float = 0
tagsToCollide:Array<String>
read onlytop:Float = 0
canCollideWith (e:Entity):Bool
inline getBottomDepth (box:HitBoxComponent):Float
getCollisionSide (box:HitBoxComponent):HitBoxSide
inline getLeftDepth (box:HitBoxComponent):Float
inline getRightDepth (box:HitBoxComponent):Float
inline getTopDepth (box:HitBoxComponent):Float
init (?tagsToCollide:Array<String>, ?box:Rect):Void
inline isCollidingWith (e:Entity):Bool
updateBounds ():Void
staticinline create (?tagsToCollide:Array<String>, ?box:Rect):HitBoxComponent
staticinline getPool ():Pool<HitBoxComponent>
read only__typeName__:String
read only__type__:Class<Component>
entity:Entity
name:String
onAddedToEntity:Event<Entity ‑> Void>
onRemovedFromEntity:Event<Entity ‑> Void>
read onlyid:Int = Gecko.getUniqueID()
read onlyisAlreadyDestroyed:Bool = false
inline toString ():String