C# 클래스 Sanguosha.UI.Controls.VHealthBar

Interaction logic for HealthBar.xaml
상속: System.Windows.Controls.UserControl
파일 보기 프로젝트 열기: RagingBigFemaleBird/sgs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
HealthProperty System.Windows.DependencyProperty
MaxHealthProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
VHealthBar ( ) : System

비공개 메소드들

메소드 설명
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

메소드 상세

VHealthBar() 공개 메소드

public VHealthBar ( ) : System
리턴 System

프로퍼티 상세

HealthProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows HealthProperty
리턴 System.Windows.DependencyProperty

MaxHealthProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows MaxHealthProperty
리턴 System.Windows.DependencyProperty