C# Class BalloonsPop.Core.Commands.PlaySoundCommand

Implements command to play a sound
Inheritance: ICommand
Afficher le fichier Open project: Baloons-Pop-4/Main

Méthodes publiques

Méthode Description
Execute ( IContext context ) : void

Executes the PlaySoundCommand

PlaySoundCommand ( string sound ) : BalloonsPop.Common.Contracts

Initializes a new instance of the PlaySoundCommand class.

Method Details

Execute() public méthode

Executes the PlaySoundCommand
public Execute ( IContext context ) : void
context IContext
Résultat void

PlaySoundCommand() public méthode

Initializes a new instance of the PlaySoundCommand class.
public PlaySoundCommand ( string sound ) : BalloonsPop.Common.Contracts
sound string
Résultat BalloonsPop.Common.Contracts