C# Class Ensage.Common.WorkInProgress.Abilities.AbilityBase

Inheritance: IAbility
显示文件 Open project: EnsageSharp/Ensage.Common

Public Methods

Method Description
GetDamage ( Unit target, int index ) : float
SetPrediction ( IPredictionInput input ) : void
Use ( Unit target ) : bool
Use ( System.Vector3 position ) : bool

Protected Methods

Method Description
AbilityBase ( Hero owner, Ability ability ) : System

Method Details

AbilityBase() protected method

protected AbilityBase ( Hero owner, Ability ability ) : System
owner Hero
ability Ability
return System

GetDamage() public method

public GetDamage ( Unit target, int index ) : float
target Unit
index int
return float

SetPrediction() public method

public SetPrediction ( IPredictionInput input ) : void
input IPredictionInput
return void

Use() public abstract method

public abstract Use ( Unit target ) : bool
target Unit
return bool

Use() public abstract method

public abstract Use ( System.Vector3 position ) : bool
position System.Vector3
return bool