Polarith AI
1.8

◆ PrepareUpdate()

void PrepareUpdate ( Vector3  center,
IList< AIMEnvironment environments 
)

Needs to be called at the beginning of an update cycle before Update(AIMEnvironment, IList<SteeringPercept>) is called accordingly for all available AIMEnvironment instances.

This method should be called within an concrete implementation of the AIMPerceiver<T>.StartPerceiving method.

Parameters
centerThe actual center of the spatial grid structure.
environmentsThe environments to prepare an update for.
Exceptions
NullReferenceExceptionIf environments is null.
Imprint