C# Class WarTornLands.Entities.Modules.Think.Parts.ShooterAbility

Inheritance: BaseAbility
Afficher le fichier Open project: floAr/WarTornLands Class Usage Examples

Méthodes publiques

Свойство Type Description
CooldownTime int
Damage int
Range int
Speed float

Méthodes publiques

Méthode Description
Draw ( GameTime gameTime ) : void
SetOwner ( System.Entity owner ) : void
ShooterAbility ( int cooldownTime = 800, int damage = 1, int range = 400, float speed = 400f ) : System
TryCancel ( ) : bool
TryExecute ( ) : bool
Update ( GameTime gameTime ) : void

Private Methods

Méthode Description
OnBang ( object sender, BangEventArgs e ) : void

Method Details

Draw() public méthode

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

SetOwner() public méthode

public SetOwner ( System.Entity owner ) : void
owner System.Entity
Résultat void

ShooterAbility() public méthode

public ShooterAbility ( int cooldownTime = 800, int damage = 1, int range = 400, float speed = 400f ) : System
cooldownTime int
damage int
range int
speed float
Résultat System

TryCancel() public méthode

public TryCancel ( ) : bool
Résultat bool

TryExecute() public méthode

public TryExecute ( ) : bool
Résultat bool

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Property Details

CooldownTime public_oe property

public int CooldownTime
Résultat int

Damage public_oe property

public int Damage
Résultat int

Range public_oe property

public int Range
Résultat int

Speed public_oe property

public float Speed
Résultat float