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

Behavior that computes AutonomousAgent steering behaviors force
상속: Behavior
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 메소드들

메소드 설명
Add ( SteeringBehavior steeringBehavior ) : void

Add a new Steering Behavior

Add ( SteeringBehavior steeringBehavior, bool unicity ) : void

Add a new Steering Behavior

ComputeSteeringForcesBehavior ( ) : System

Creates a new instance

Contains ( SteeringBehavior steeringBehavior ) : bool

Returns if a given Steering Behavior instance is present

Contains ( Type steeringBehaviorType ) : bool

Returns if a given type of Steering Behavior is present

Remove ( SteeringBehavior steeringBehavior ) : void

Remove the provided Steering Behavior instance

RemoveAll ( ) : void

Remove all Steering Behaviors

SortBySteeringBehaviorPriority ( SteeringBehavior a, SteeringBehavior b ) : int

Sort all Steering Behaviors by their Priority property

비공개 메소드들

메소드 설명
ComputeSteeringBehaviors ( Command command ) : object

메소드 상세

Add() 공개 메소드

Add a new Steering Behavior
public Add ( SteeringBehavior steeringBehavior ) : void
steeringBehavior SteeringBehavior
리턴 void

Add() 공개 메소드

Add a new Steering Behavior
public Add ( SteeringBehavior steeringBehavior, bool unicity ) : void
steeringBehavior SteeringBehavior
unicity bool Set to true if we want to have one steering behavior type only
리턴 void

ComputeSteeringForcesBehavior() 공개 메소드

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

Contains() 공개 메소드

Returns if a given Steering Behavior instance is present
public Contains ( SteeringBehavior steeringBehavior ) : bool
steeringBehavior SteeringBehavior
리턴 bool

Contains() 공개 메소드

Returns if a given type of Steering Behavior is present
public Contains ( Type steeringBehaviorType ) : bool
steeringBehaviorType System.Type
리턴 bool

Remove() 공개 메소드

Remove the provided Steering Behavior instance
public Remove ( SteeringBehavior steeringBehavior ) : void
steeringBehavior SteeringBehavior
리턴 void

RemoveAll() 공개 메소드

Remove all Steering Behaviors
public RemoveAll ( ) : void
리턴 void

SortBySteeringBehaviorPriority() 공개 정적인 메소드

Sort all Steering Behaviors by their Priority property
public static SortBySteeringBehaviorPriority ( SteeringBehavior a, SteeringBehavior b ) : int
a SteeringBehavior
b SteeringBehavior
리턴 int