static void AchievementDraw(IIcon icon, SpriteBatch sb, bool achieved, Vector2 loc) { if (achieved) { icon.Draw(sb, loc, Color.White); } else { icon.Draw(sb, loc, Color.Black); } }
int TrophyGetter(IIcon icon, int delay, bool achieved) { if (delay < 200 && achieved) { icon.Draw(spriteBatch, new Vector2(Game.MainCameraObject.DestinationRectangle.X + (16 * 1.1f), Game.MainCameraObject.DestinationRectangle.Y + (40)), Color.White); return(delay + 1); } return(delay); }