C# Class ReverseDirection, Corsair

Inheritance: DebuffBase
ファイルを表示 Open project: Final-Parsec/Corsair Class Usage Examples

Public Methods

Method 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

Method Description
MoveOwner ( Node, end ) : void

Set the path of the agent to a new destination.

Method Details

Apply() public method

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

EndEffect() public method

Ends a Buff's effect.
public EndEffect ( ) : void
return void

ReverseDirection() public method

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.
return System.Collections.Generic