BalloonsPop.Core.Commands.AddPlayerscoreCommand.Execute C# (CSharp) Méthode

Execute() public méthode

public Execute ( IContext context ) : void
context IContext
Résultat void
        public void Execute(IContext context)
        {
            context.HighscoreTable.AddPlayer(new PlayerScore(context.PlayerName, context.Game.UserMovesCount, DateTime.Now));
        }
AddPlayerscoreCommand