C# Class ReverseDirection, Corsair

Inheritance: DebuffBase
Afficher le fichier Open project: Final-Parsec/Corsair Class Usage Examples

Méthodes publiques

Méthode Description
Apply ( float deltaTime ) : bool

Applies the Buff.

EndEffect ( ) : void

Ends a Buff's effect.

ReverseDirection ( EnemyBase, owner, float duration ) : System.Collections.Generic

Initializes an instance of DebuffBase.

Private Methods

Méthode Description
MoveOwner ( Node, end ) : void

Set the path of the agent to a new destination.

Method Details

Apply() public méthode

Applies the Buff.
public Apply ( float deltaTime ) : bool
deltaTime float The time between the last application.
Résultat bool

EndEffect() public méthode

Ends a Buff's effect.
public EndEffect ( ) : void
Résultat void

ReverseDirection() public méthode

Initializes an instance of DebuffBase.
public ReverseDirection ( EnemyBase, owner, float duration ) : System.Collections.Generic
owner EnemyBase, The agent under the effect.
duration float The length of time the buff is active.
Résultat System.Collections.Generic