C# Class ChessBoardVisualLib.View.ChessBoardControl

Interaction logic for ChessBoardControl.xaml
Inheritance: System.Windows.Controls.UserControl
Afficher le fichier Open project: Ribtoks/Queem

Méthodes publiques

Méthode Description
AnimateCancelMove ( DeltaChange dc, Move move ) : void
AnimateLast ( ) : void
AnimateMove ( DeltaChange dc, Move move ) : void
ChangeCurrentPlayer ( ) : void
ChessBoardControl ( ) : System
PromotePawn ( Queem color, Square square, Queem figure ) : void
RedrawAll ( ) : void
SetupGameProvider ( GameProvider provider ) : void
UserPromotePawn ( ) : void

Private Methods

Méthode Description
Grid_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
InnerAnimateMove ( Move move, Queem figureDied ) : void
OnMoveAnimationFinished ( ) : void
OnMoveAnimationPreview ( ) : void
OnMoveFinished ( ) : void
OnPawnPromoted ( ) : void
PromotePawn_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
SetupAnimationCount ( Move move ) : void
squareGrid_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Method Details

AnimateCancelMove() public méthode

public AnimateCancelMove ( DeltaChange dc, Move move ) : void
dc Queem.Core.History.DeltaChange
move Queem.Core.Move
Résultat void

AnimateLast() public méthode

public AnimateLast ( ) : void
Résultat void

AnimateMove() public méthode

public AnimateMove ( DeltaChange dc, Move move ) : void
dc Queem.Core.History.DeltaChange
move Queem.Core.Move
Résultat void

ChangeCurrentPlayer() public méthode

public ChangeCurrentPlayer ( ) : void
Résultat void

ChessBoardControl() public méthode

public ChessBoardControl ( ) : System
Résultat System

PromotePawn() public méthode

public PromotePawn ( Queem color, Square square, Queem figure ) : void
color Queem
square Square
figure Queem
Résultat void

RedrawAll() public méthode

public RedrawAll ( ) : void
Résultat void

SetupGameProvider() public méthode

public SetupGameProvider ( GameProvider provider ) : void
provider Queem.Core.ChessBoard.GameProvider
Résultat void

UserPromotePawn() public méthode

public UserPromotePawn ( ) : void
Résultat void