Ejemplo n.º 1
0
 public override void Rysuj(ref SpriteBatch SB)
 {
     if (Silnik != null)
     {
         Silnik.Rysuj(ref SB);
     }
     base.Rysuj(ref SB);
 }
Ejemplo n.º 2
0
 public override void Rysuj(ref SpriteBatch SB)
 {
     if (!Zniszczony)
     {
         LeweOko.Rysuj(ref SB);
         PraweOko.Rysuj(ref SB);
         SB.Draw(Obrazek, Pozycja, null, Color.White, Obrot, Srodek, Vector2.One, SpriteEffects.None, 0);
     }
 }
Ejemplo n.º 3
0
 public override void Rysuj(ref SpriteBatch SB)
 {
     Silnik.Rysuj(ref SB);
     base.Rysuj(ref SB);
     if (DoublePoints.active)
     {
         int ile = (int)((float)DoublePoints.T / DoublePoints.MaxT * 20f) + 1;
         SB.Draw(Grafika.PowerUps[1], new Vector2(460f, 0f), Color.White);
         SB.Draw(Grafika.Empty, new Rectangle(455, (20 - ile), 5, ile), Color.Yellow);
     }
     else
     {
         SB.Draw(Grafika.PowerUps[1], new Vector2(460f, 0f), Color.Gray);
     }
 }