BalloonsPop.Core.Commands.AddPlayerscoreCommand.Execute C# (CSharp) Method

Execute() public method

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