C# 클래스 WarTornLands.Entities.Modules.Think.Parts.SwingHitAbility

상속: BaseAbility
파일 보기 프로젝트 열기: floAr/WarTornLands 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
WeaponMarkerA Vector2
WeaponMarkerB Vector2

공개 메소드들

메소드 설명
SetOwner ( Entity owner ) : void
SwingHitAbility ( int duration = 700, float angle = 2, float range = 50, int damage = 1 ) : System

Initializes a new instance of the SwingHitAbility class.

TryCancel ( ) : bool
TryExecute ( ) : bool
Update ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
GetRoundedAngle ( ) : double
Hit ( ) : void
OnBang ( object sender, BangEventArgs e ) : void

메소드 상세

SetOwner() 공개 메소드

public SetOwner ( Entity owner ) : void
owner Entity
리턴 void

SwingHitAbility() 공개 메소드

Initializes a new instance of the SwingHitAbility class.
public SwingHitAbility ( int duration = 700, float angle = 2, float range = 50, int damage = 1 ) : System
duration int The duration of a swing.
angle float The angle of the swing cone.
range float
damage int
리턴 System

TryCancel() 공개 메소드

public TryCancel ( ) : bool
리턴 bool

TryExecute() 공개 메소드

public TryExecute ( ) : bool
리턴 bool

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

프로퍼티 상세

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

public static Vector2 WeaponMarkerA
리턴 Vector2

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

public static Vector2 WeaponMarkerB
리턴 Vector2