MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / Explosion

Method Explosion

src/Battlescape/Explosion.cpp:31–34  ·  view source on GitHub ↗

* Sets up a Explosion sprite with the specified size and position. * @param position Explosion center position in voxel x/y/z. * @param startFrame A startframe - can be used to offset different explosions at different frames. * @param big Flag to indicate it is a bullet hit (false), or a real explosion (true). * @param hit True for melee and psi attacks. */

Source from the content-addressed store, hash-verified

29 * @param hit True for melee and psi attacks.
30 */
31Explosion::Explosion(Position position, int startFrame, bool big, bool hit) : _position(position), _currentFrame(startFrame), _startFrame(startFrame), _big(big), _hit(hit)
32{
33
34}
35
36/**
37 * Deletes the Explosion.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected