C# Class BalloonsPop.Core.Commands.PlaySoundCommand

Implements command to play a sound
Inheritance: ICommand
Datei anzeigen Open project: Baloons-Pop-4/Main

Public Methods

Method 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 method

Executes the PlaySoundCommand
public Execute ( IContext context ) : void
context IContext
return void

PlaySoundCommand() public method

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