ScrollingShooter.GameObjectManager.Draw C# (CSharp) Method

Draw() public method

Draws all game Objects
public Draw ( float elapsedTime, SpriteBatch spriteBatch ) : void
elapsedTime float
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void
        public void Draw(float elapsedTime, SpriteBatch spriteBatch)
        {
            foreach (GameObject go in gameObjects.Values)
            {
                go.Draw(elapsedTime, spriteBatch);
            }
        }