Beispiel #1
0
 public override void Draw(GameTime gameTime)
 {
     if (Hbar != null)
     {
         Hbar.Draw(gameTime);
     }
     base.Draw(gameTime);
 }
Beispiel #2
0
 public override void Draw(GameTime gameTime)
 {
     if (Hbar != null)
     {
         Hbar.Draw(Game.Services.GetService <SpriteBatch>());
     }
     base.Draw(gameTime);
 }