Пример #1
0
 public void enemyDraw(GameTime gameTime, SpriteBatch spriteBatch)
 {
     if (isAlive == true)
     {
         enemy.Draw(gameTime, spriteBatch);
     }
 }
Пример #2
0
 public void knightDraw(GameTime gameTime, SpriteBatch spriteBatch)
 {
     myKnight.Draw(gameTime, spriteBatch);
     //redsquare1.Draw(spriteBatch);
     //redsquare2.Draw(spriteBatch);
     //redsquare3.Draw(spriteBatch);
     //redsquare4.Draw(spriteBatch);
 }