C# Класс Indiefreaks.Xna.Logic.Steering.Cohesion

Steering Behavior that computes a force that tends to regroup agents
Наследование: ContextualSteeringBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
CanCompute ( ) : bool

Defines if the current steering behavior can execute or not.

Override this method to add a global condition to this behavior

Cohesion ( ) : System.Collections.Generic

Creates a new instance

Compute ( ) : void

Computes the current Steering Behavior

Приватные методы

Метод Описание
GetAgentPositions ( ) : void

Описание методов

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

Cohesion() публичный Метод

Creates a new instance
public Cohesion ( ) : System.Collections.Generic
Результат System.Collections.Generic

Compute() публичный Метод

Computes the current Steering Behavior
public Compute ( ) : void
Результат void