public void UpdateHiScore(SpaceInvaders pGame, int inScore) { if (pGame.GetHiScore() < inScore) { pGame.SetHiScore(inScore); Font pHiScoreFont = FontManager.Find(Font.Name.HighScore); Debug.Assert(pHiScoreFont != null); pHiScoreFont.UpdateMessage(inScore.ToString("D4")); } }