C# Class Sanguosha.UI.Controls.MainGame

Interaction logic for MainGame.xaml
Inheritance: System.Windows.Controls.Page
Datei anzeigen Open project: RagingBigFemaleBird/sgs Class Usage Examples

Public Methods

Method Description
MainGame ( ) : System
Start ( ) : void
ctrlGetCard_OnCardSelected ( Sanguosha.Core.Cards.Card card ) : void
ctrlGetSkill_OnSkillNameSelected ( string skillName ) : void
gameView_OnGameCompleted ( object sender, EventArgs e ) : void
gameView_OnUiAttached ( object sender, EventArgs e ) : void

Private Methods

Method Description
InitGame ( ) : void
Page_Loaded ( object sender, RoutedEventArgs e ) : void
btnGetCard_Click ( object sender, RoutedEventArgs e ) : void
btnGetSkill_Click ( object sender, RoutedEventArgs e ) : void
btnGoBack_Click ( object sender, RoutedEventArgs e ) : void
muteButton_Click ( object sender, System e ) : void
soundButton_Click ( object sender, System e ) : void

Method Details

MainGame() public method

public MainGame ( ) : System
return System

Start() public method

public Start ( ) : void
return void

ctrlGetCard_OnCardSelected() public method

public ctrlGetCard_OnCardSelected ( Sanguosha.Core.Cards.Card card ) : void
card Sanguosha.Core.Cards.Card
return void

ctrlGetSkill_OnSkillNameSelected() public method

public ctrlGetSkill_OnSkillNameSelected ( string skillName ) : void
skillName string
return void

gameView_OnGameCompleted() public method

public gameView_OnGameCompleted ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

gameView_OnUiAttached() public method

public gameView_OnUiAttached ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void