A collection of scripts which are used for determine collisions and damage.
- CollisionFilter.cs – static class with helper methods for filtering acceptable collision objects.
- IDamager.cs – interface used by shots in order to apply damage in scripts that receive incoming collisions.
- ShotCollidable.cs:
- IShotCollidable – interface used by objects that receive shot collisions.
- CollisionArgs – class used to pass arguments in a single object to OnLaserCollision().
- ShotCollision.cs – monobehavior class attached to objects which receive shot collisions.
- ShotCollisionDamage.cs – monobehavior class attached to objects which receive shot collisions as well as damage (player, enemies, destroyable objects, etc).
- Explosion.cs – Monobehavior driving explosion animations.
- DamagerBody.cs – Monobehavior that can be attached to damaging objects (player, enemy, spikes, etc) in order to deal damage to other objects it collides with, in the same way that shots do.