Esempio n. 1
0
 internal void Draw(GameTime gameTime)
 {
     spriteBatch.Begin();
     ball.Draw(gameTime, spriteBatch);
     paddle.Draw(gameTime, spriteBatch);
     wall.Draw(gameTime, spriteBatch);
     spriteBatch.End();
 }
Esempio n. 2
0
        public void Draw()
        {
            GameWindow.Clear(Color.Black);

            Wall.Draw();

            Player.Draw();

            PlayerBall.Draw();

            Npc.Draw();

            GameWindow.Refresh();
        }