C# Class Tcg.Kata.EndOfTurnCommand

Inheritance: ICommand
Datei anzeigen Open project: Betclic/CodingDojo-Katas

Private Properties

Property Type Description

Public Methods

Method Description
CanExecute ( object parameter ) : bool
EndOfTurnCommand ( GameViewModel game, PlayerViewModel player ) : System
Execute ( object parameter ) : void

Method Details

CanExecute() public method

public CanExecute ( object parameter ) : bool
parameter object
return bool

EndOfTurnCommand() public method

public EndOfTurnCommand ( GameViewModel game, PlayerViewModel player ) : System
game Tcg.Kata.ViewModels.GameViewModel
player Tcg.Kata.ViewModels.PlayerViewModel
return System

Execute() public method

public Execute ( object parameter ) : void
parameter object
return void