C# Class AbilityClass

Inheritance: GameBehavior
Show file Open project: mezosaurus/eae-project Class Usage Examples

Public Properties

Property Type Description
lifetime float

Protected Properties

Property Type Description
PM PlayerScript,
abilityUsed bool
coolDownInProgress bool
direction Vector3
prefabPath string
spawnTime float
timeModifier float
tmpCoolDown float
type AbilityType

Public Methods

Method Description
OnDestroy ( ) : void
Start ( ) : void
getPath ( ) : string
setDirection ( Vector3 dir ) : void

Protected Methods

Method Description
GameUpdate ( ) : void
HandleAbilityStatusChanged ( Message, message ) : void
RegisterListeners ( ) : void
UnregisterListeners ( ) : void

Method Details

GameUpdate() protected method

protected GameUpdate ( ) : void
return void

HandleAbilityStatusChanged() protected method

protected HandleAbilityStatusChanged ( Message, message ) : void
message Message,
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

RegisterListeners() protected method

protected RegisterListeners ( ) : void
return void

Start() public method

public Start ( ) : void
return void

UnregisterListeners() protected method

protected UnregisterListeners ( ) : void
return void

getPath() public method

public getPath ( ) : string
return string

setDirection() public method

public setDirection ( Vector3 dir ) : void
dir Vector3
return void

Property Details

PM protected property

protected PlayerScript, PM
return PlayerScript,

abilityUsed protected property

protected bool abilityUsed
return bool

coolDownInProgress protected property

protected bool coolDownInProgress
return bool

direction protected property

protected Vector3 direction
return Vector3

lifetime public property

public float lifetime
return float

prefabPath protected property

protected string prefabPath
return string

spawnTime protected property

protected float spawnTime
return float

timeModifier protected property

protected float timeModifier
return float

tmpCoolDown protected property

protected float tmpCoolDown
return float

type protected property

protected AbilityType type
return AbilityType