19 #ifndef OPENXCOM_EXPLOSION_H
20 #define OPENXCOM_EXPLOSION_H
35 int _currentFrame, _startFrame;
Position getPosition() const
Gets the current position in voxel space.
Definition: Explosion.cpp:65
bool isBig() const
Checks if this is a real explosion.
Definition: Explosion.cpp:83
int getCurrentFrame() const
Gets the current frame.
Definition: Explosion.cpp:74
Explosion(Position _position, int startFrame, bool big, bool hit=false)
Creates a new Explosion.
Definition: Explosion.cpp:31
bool isHit() const
Checks if this is a melee or psi hit.
Definition: Explosion.cpp:92
A class that represents an explosion animation.
Definition: Explosion.h:31
Easy handling of X-Y-Z coordinates.
Definition: Position.h:30
~Explosion()
Cleans up the Explosion.
Definition: Explosion.cpp:39
bool animate()
Moves the Explosion on one frame.
Definition: Explosion.cpp:48