public draw ( |
||
sb | ||
x_offset | int | |
y_offset | int | |
font | ||
c | Color | |
return | void |
public override void draw(SpriteBatch sb, int x_offset, int y_offset, SpriteFont font, Color c)
{
base.draw(sb, x_offset, y_offset, font, c);
string playTimeStr;
if (this.saveData != null)
playTimeStr = GameClock.formatTimeSpan(this.saveData.playTime);
else
playTimeStr = GameClock.formatTimeSpan(TimeSpan.Zero);
sb.DrawString(font, playTimeStr,
new Vector2(x_offset + NEXT_COLUMN_OFFSET + this.getX(), y_offset + this.getY()), c);
}