C# 클래스 Slow, Corsair

파일 보기 프로젝트 열기: Final-Parsec/Corsair 1 사용 예제들

공개 메소드들

메소드 설명
Apply ( float deltaTime ) : bool

Applies the Buff.

EndEffect ( ) : void

Ends a Buff's effect.

Slow ( EnemyBase, owner, float duration, float slowPercent )

Initializes an instance of DebuffBase.

메소드 상세

Apply() 공개 메소드

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

EndEffect() 공개 메소드

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

Slow() 공개 메소드

Initializes an instance of DebuffBase.
public Slow ( EnemyBase, owner, float duration, float slowPercent )
owner EnemyBase, The agent under the effect.
duration float The length of time the buff is active.
slowPercent float The percentage of the agent's speed to subtract.