C# 클래스 Descent.Model.Event.Ability

Any ability, that have an effect on figures, heroes and the overlord.
파일 보기 프로젝트 열기: nezbo/Descent 1 사용 예제들

공개 메소드들

메소드 설명
Apply ( Figure figure, bool remove = false ) : void

Applys the ability to a figure

GetAbility ( string abilityString ) : Ability

Creates an ability by parsing a string

ToString ( ) : string

Prints an ability as a

비공개 메소드들

메소드 설명
GetTrigger ( string trigger, Ability ability ) : Func
IfType ( ) : bool
IntBonus ( ) : int
QuickShot ( ) : void
WhenAttacking ( ) : bool
isTrue ( ) : bool

메소드 상세

Apply() 공개 메소드

Applys the ability to a figure
public Apply ( Figure figure, bool remove = false ) : void
figure Descent.Model.Player.Figure.Figure /// The figure to apply the figure to ///
remove bool
리턴 void

GetAbility() 공개 정적인 메소드

Creates an ability by parsing a string
public static GetAbility ( string abilityString ) : Ability
abilityString string /// An ability as a string ///
리턴 Ability

ToString() 공개 메소드

Prints an ability as a
public ToString ( ) : string
리턴 string