C# 클래스 Indiefreaks.Xna.Logic.Steering.Flee

Steering Behavior that creates a force to move away from a given position
상속: SteeringBehavior
파일 보기 프로젝트 열기: Indiefreaks/igf

공개 메소드들

메소드 설명
CanCompute ( ) : bool

Defines if the current steering behavior can execute or not.

Override this method to add a global condition to this behavior

Compute ( ) : void

Computes the current Steering Behavior

Flee ( ) : System

Creates a new instance

메소드 상세

CanCompute() 공개 메소드

Defines if the current steering behavior can execute or not.
Override this method to add a global condition to this behavior
public CanCompute ( ) : bool
리턴 bool

Compute() 공개 메소드

Computes the current Steering Behavior
public Compute ( ) : void
리턴 void

Flee() 공개 메소드

Creates a new instance
public Flee ( ) : System
리턴 System