public void Draw(SpriteBatch spriteBatch) { spriteBatch.Draw(scoreField, scoreFieldDrawRectangle, Color.White); spriteBatch.Draw(scoreField, scoreFieldDrawRectangle2, Color.White); stageText.Draw(spriteBatch); stageNumberSprite.Draw(spriteBatch); }
public void Draw(SpriteBatch spriteBatch) { foreach (StringSprite txt in text) { txt.Draw(spriteBatch); } spriteBatch.Draw(tankSprite, tank0drawRectangle, tank0SourceRectangle, Color.White); spriteBatch.Draw(tankSprite, tank1drawRectangle, tank1SourceRectangle, Color.White); spriteBatch.Draw(tankSprite, tank2drawRectangle, tank2SourceRectangle, Color.White); spriteBatch.Draw(tankSprite, tank3drawRectangle, tank3SourceRectangle, Color.White); stageNumberSprite.Draw(spriteBatch); playerScoreSprite.Draw(spriteBatch); for (int i = 0; i < tankScores.Count(); i++) { tankScores[i].Draw(spriteBatch); } if (workTime > 500) { totalSprite.Draw(spriteBatch); } }
public void Draw(SpriteBatch spriteBatch) { spriteBatch.Draw(scoreField, scoreFieldDrawRectangle, Color.White); spriteBatch.Draw(scoreSprite, playerOneLivesDrawRectangle, playerOneLivesSourceRectangle, Color.White); playerOneLivesNumberSprite.Draw(spriteBatch); spriteBatch.Draw(scoreSprite, stageDrawRectangle, stageSourceRectangle, Color.White); stageNumberSprite.Draw(spriteBatch); }
public void Draw(SpriteBatch spriteBatch) { foreach (Tile tile in tiles) { tile.Draw(spriteBatch); } spriteBatch.Draw(sprite, drawRectangle, sourceRectangle, Color.White); foreach (StringSprite txt in text) { txt.Draw(spriteBatch); } player1recordSprite.Draw(spriteBatch); hiRecordSprite.Draw(spriteBatch); }
public void Draw(SpriteBatch spriteBatch) { scoreCountSprite.Draw(spriteBatch); tankCountSprite.Draw(spriteBatch); }