Project_Starfighter.ActionScreen.UpdateAmmo C# (CSharp) Method

UpdateAmmo() protected method

protected UpdateAmmo ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void
        protected void UpdateAmmo(GameTime gameTime)
        {
            // Updates the location of all of the active player bullets.
            for (int x = 0; x < iMaxBolts; x++)
            {
                if (bolts[x].IsActive)
                {
                    bolts[x].Update(gameTime);
                }
            }
        }