14 if (m_delaySeconds > 0)
18 if (m_delaySeconds <= 0)
37 m_delaySeconds = delaySeconds;
virtual void Hit(const float damage)
Applies damage to the ship.
virtual void Update(const GameTime &gameTime)
Loads the content for the enemy ship.
EnemyShip()
Creates a new instance of EnemyShip.
virtual void SetPosition(const float x, const float y)
virtual void SetCollisionRadius(const int radius)
virtual bool IsOnScreen() const
virtual void Activate()
Activate the object.
virtual bool IsActive() const
Flag to determine if the object is active.
virtual void Deactivate()
Deactivate the object.
Contains timing values for game updates and rendering.
double GetElapsedTime() const
Gets the time in seconds since last frame.
Defines a vector with 2 components (x and y).
virtual void Update(const GameTime &gameTime)
Updates the ship.
virtual void Hit(const float damage)
Applies damage to the ship.
virtual void SetMaxHitPoints(const float hitPoints)
Sets the max hit points of the ship.
virtual void Initialize()
Initializes the ship.