OverworldSoul
┗> Object > Class
Methods
OverworldSoul:onCollide(bullet: WorldBullet)
(Override) Called whenever a bullet hits the soul
By default, calls bullet:onCollide()
which handles the soul taking damage
Arguments:
bullet: WorldBullet | The class that all World bullets in Kristal originate from. |
Fields
OverworldSoul.collider: CircleCollider
The hitbox of the soul, defaulting to a circle with an 8 pixel radius