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