C# Class Sanguosha.UI.Controls.TwoSidesCardChoiceBox

Interaction logic for TwoSidesCardChoice.xaml
Inheritance: System.Windows.Controls.UserControl
Afficher le fichier Open project: RagingBigFemaleBird/sgs

Méthodes publiques

Méthode Description
PickCard ( bool isMainPlayer, int cardIndex ) : void

Pick a card from card repo to the row on the specified player's side.

StartCountDown ( bool isMainPlayer, int timeOutSeconds ) : void
TwoSidesCardChoiceBox ( ) : System
TwoSidesCardChoiceBox_DataContextChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
UpdateModel ( ) : void

Private Methods

Méthode Description
model_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Method Details

PickCard() public méthode

Pick a card from card repo to the row on the specified player's side.
public PickCard ( bool isMainPlayer, int cardIndex ) : void
isMainPlayer bool
cardIndex int
Résultat void

StartCountDown() public méthode

public StartCountDown ( bool isMainPlayer, int timeOutSeconds ) : void
isMainPlayer bool
timeOutSeconds int
Résultat void

TwoSidesCardChoiceBox() public méthode

public TwoSidesCardChoiceBox ( ) : System
Résultat System

TwoSidesCardChoiceBox_DataContextChanged() public méthode

public TwoSidesCardChoiceBox_DataContextChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
sender object
e System.Windows.DependencyPropertyChangedEventArgs
Résultat void

UpdateModel() public méthode

public UpdateModel ( ) : void
Résultat void