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

Steering Behavior that creates a force that will tend the agent to hide behind an obstacle
상속: ContextualSteeringBehavior
파일 보기 프로젝트 열기: 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

GetBestHidingSpot ( ) : void

Returns the best hiding spot in the current Context

Hide ( ) : Microsoft.Xna.Framework

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

GetBestHidingSpot() 공개 메소드

Returns the best hiding spot in the current Context
public GetBestHidingSpot ( ) : void
리턴 void

Hide() 공개 메소드

Creates a new instance
public Hide ( ) : Microsoft.Xna.Framework
리턴 Microsoft.Xna.Framework