public static void DrawScore(SpriteBatch spriteBatch, ICamera camera) { string scoreString = currentScoreToDraw.ToString(); location.Y -= upwardDrawYModifier; if (hasChanged && !(HUDManager.CurrentGameState() == HUDConstants.PACMARIOHUDSTRING) && !(HUDManager.CurrentGameState() == HUDConstants.BRICKBREAKERHUDSTRING)) { spriteBatch.Begin(SpriteSortMode.Deferred, null, null, null, null, null, ScreenScaler.ScalingMatrix); spriteBatch.DrawString(scoreFont, scoreString, camera.GetAdjustedPosition(location), Color.White); spriteBatch.End(); } }
public void Draw(ICamera camera) { elevatorSprite.Draw(myGame.spriteBatch, camera.GetAdjustedPosition(location)); }
public void Draw(ICamera camera) { ((IMarioSprite)mario.Sprite).StarDraw(myGame.spriteBatch, camera.GetAdjustedPosition(mario.VectorCoordinates)); }
public void Draw(ICamera camera) { if (!isInsideBlock) flowerSprite.Draw(myGame.spriteBatch, camera.GetAdjustedPosition(location)); }
public void Draw(ICamera camera) { tripleCloudSprite.Draw(myGame.spriteBatch, camera.GetAdjustedPosition(location)); }
public void Draw(ICamera camera) { sprite.Draw(game.spriteBatch, camera.GetAdjustedPosition(location)); }
public void Draw(ICamera camera) { if (!isInsideBlock || (isReleased && physics.Velocity.Y < ItemConstants.COINYVELOCITYCAP)) coinSprite.Draw(myGame.spriteBatch, camera.GetAdjustedPosition(location)); }
public void Draw(ICamera camera) { singleBushSprite.Draw(myGame.spriteBatch, camera.GetAdjustedPosition(location)); }
public void Draw(ICamera camera) { tripleBushSprite.Draw(myGame.spriteBatch, camera.GetAdjustedPosition(location)); }
public void Draw(ICamera camera) { Vector2 location = mario.VectorCoordinates; sprite.Draw(myGame.spriteBatch, camera.GetAdjustedPosition(location)); }
public void Draw(ICamera camera) { bigHillSprite.Draw(myGame.spriteBatch, camera.GetAdjustedPosition(location)); }
public void Draw(ICamera camera) { singleCloudSprite.Draw(myGame.spriteBatch, camera.GetAdjustedPosition(location)); }
public void Draw(ICamera camera) { sprite.Draw(game.spriteBatch, camera.GetAdjustedPosition(location)); }
public void Draw(ICamera camera) { invisibleFlagPoleSprite.Draw(myGame.spriteBatch, camera.GetAdjustedPosition(location)); }
public void Draw(ICamera camera) { paddleBallSprite.Draw(myGame.spriteBatch, camera.GetAdjustedPosition(location)); }