 |
OpenXcom
1.0
Open-source clone of the original X-Com
|
19 #ifndef OPENXCOM_EXPLOSION_H
20 #define OPENXCOM_EXPLOSION_H
35 int _currentFrame, _startFrame;
COPYING:
Definition: BaseInfoState.cpp:41
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
A class that represents an explosion animation.
Definition: Explosion.h:32
~Explosion()
Cleans up the Explosion.
Definition: Explosion.cpp:39
int getCurrentFrame() const
Gets the current frame.
Definition: Explosion.cpp:74
bool isHit() const
Checks if this is a melee or psi hit.
Definition: Explosion.cpp:92
bool animate()
Moves the Explosion on one frame.
Definition: Explosion.cpp:48
Easy handling of X-Y-Z coordinates.
Definition: Position.h:31
Explosion(Position _position, int startFrame, bool big, bool hit=false)
Creates a new Explosion.
Definition: Explosion.cpp:31