Explosion

interface Explosion

Interface detailing what explosions need to include.

Functions

Link copied to clipboard
abstract fun applyBlastImpulse(blastPower: Double)

Applies a blast impulse to the effected bodies.

Link copied to clipboard
abstract fun setEpicentre(v: Vec2)

Sets the epicentre to a different coordinate.

Link copied to clipboard
abstract fun update(bodiesToEvaluate: ArrayList<TranslatableBody>)

Updates the arraylist to reevaluate what objects are effected/within the proximity.

Inheritors

Link copied to clipboard
Link copied to clipboard