Represents an explosion animation in the game.
virtual void SetPosition(const Vector2 position)
Sets the explosion's position.
virtual AudioSample * GetSound()
Get the sound that will be played when the explosion is activated.
virtual void Draw(SpriteBatch &spriteBatch)
Render the explosion.
virtual void SetAnimation(Animation *pAnimation)
Sets the explosion's animation.
virtual void SetSound(AudioSample *pSound)
Set the sound that will be played when the explosion is activated.
virtual bool IsActive() const
Checks if the explosion is active.
virtual void Update(const GameTime &gameTime)
Update the explosion.
virtual void Activate(const Vector2 position, const float scale=1)
Activates the explosion.
Represents timing and framing values for texture animations.
virtual bool IsPlaying() const
Determines if the animation is playing.
Represents a 2D grid of texels.
Contains timing values for game updates and rendering.
Enables a group of sprites to be drawn using the same settings.
Defines a vector with 2 components (x and y).
Katana Engine is a library of classes, interfaces, and value types that provides a foundation for dev...