BioEnemyShip()
Creates a new instance of BioEnemyShip.
virtual void Update(const GameTime &gameTime)
Updates the enemy ship.
virtual void Draw(SpriteBatch &spriteBatch)
Draws the enemy ship.
virtual void Update(const GameTime &gameTime)
Loads the content for the enemy ship.
virtual uint32_t GetIndex() const
Get the index of the object. Each object is assigned a unique ID when created, starting at 0.
virtual void TranslatePosition(const float x, const float y)
virtual void SetCollisionRadius(const int radius)
virtual bool IsOnScreen() const
virtual bool IsActive() const
Flag to determine if the object is active.
virtual void Deactivate()
Deactivate the object.
static Level * GetCurrentLevel()
Get the current level.
virtual Vector2 & GetPosition()
Get the position of the object.
static const Color White
White.
Contains timing values for game updates and rendering.
double GetElapsedTime() const
Gets the time in seconds since last frame.
double GetTotalTime() const
Gets the time in seconds since the game started.
static const float PI
Represents the value of pi.
Enables a group of sprites to be drawn using the same settings.
void Draw(const Texture *pTexture, const Vector2 position, const Region region, const Color color=Color::White, const Vector2 origin=Vector2::ZERO, const Vector2 scale=Vector2::ONE, const float rotation=0, const float drawDepth=0)
Adds a sprite to a batch of sprites to be rendered.
Vector2 GetCenter() const
Gets the center position of the texture.
static const Vector2 ONE
A vector with both of its components set to one.
virtual float GetAlpha() const
Get the alpha value of the screen.
virtual void SetSpeed(const float speed)
Sets the speed of the ship.
virtual void SetMaxHitPoints(const float hitPoints)
Sets the max hit points of the ship.
virtual float GetSpeed() const
Gets the speed of the ship.