ScrollingShooter.GameObjectManager.Draw C# (CSharp) 메소드

Draw() 공개 메소드

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