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

Inheritance: BaseAbility
Show file Open project: floAr/WarTornLands Class Usage Examples

Public Properties

Property Type Description
CooldownTime int
Damage int
Range int
Speed float

Public Methods

Method 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

Method Description
OnBang ( object sender, BangEventArgs e ) : void

Method Details

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

SetOwner() public method

public SetOwner ( System.Entity owner ) : void
owner System.Entity
return void

ShooterAbility() public method

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

TryCancel() public method

public TryCancel ( ) : bool
return bool

TryExecute() public method

public TryExecute ( ) : bool
return bool

Update() public method

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

Property Details

CooldownTime public property

public int CooldownTime
return int

Damage public property

public int Damage
return int

Range public property

public int Range
return int

Speed public property

public float Speed
return float