Created
October 18, 2011 22:34
-
-
Save CartBlanche/1296947 to your computer and use it in GitHub Desktop.
MonoGame AwardAchievement wrapper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void AwardAchievement( string aAchievementName, double aPercentageComplete ) | |
{ | |
if( ( Gamer.SignedInGamers.Count > 0 ) && ( Gamer.SignedInGamers[0].IsSignedInToLive ) ) | |
{ | |
Gamer.SignedInGamers[0].AwardAchievement(aAchievementName, aPercentageComplete); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment