C# Class Sanguosha.UI.Controls.HealthBar

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

Méthodes publiques

Свойство Type Description
HealthProperty System.Windows.DependencyProperty
MaxHealthProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
HealthBar ( ) : System

Private Methods

Méthode Description
AlignLoseHealthAnimation ( LoseHealthAnimation animation, Image bloodDrop ) : void
DigitToImage ( int digit, int healthRange ) : Image
OnHealthChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMaxHealthChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
PlayLoseHealthAnimation ( int oldHealth, int newHealth ) : void
Repaint ( ) : void
animation_Completed ( object sender, EventArgs e ) : void

Method Details

HealthBar() public méthode

public HealthBar ( ) : System
Résultat System

Property Details

HealthProperty public_oe static_oe property

public static DependencyProperty,System.Windows HealthProperty
Résultat System.Windows.DependencyProperty

MaxHealthProperty public_oe static_oe property

public static DependencyProperty,System.Windows MaxHealthProperty
Résultat System.Windows.DependencyProperty