Exemple #1
0
 private static void DrawGUI()
 {
     scoreSprite.Draw();
     for (int i = 0; i < player.Lifes; i++)
     {
         GfxTools.DrawSprite(heart, (int)(window.width * (0.75f /* 3/4 */) + (i * heart.width)), 10);
     }
 }
 public void Draw()
 {
     GfxTools.DrawSprite(sprite, (int)position.X, (int)position.Y);
 }