T- Type of vector, either 2D or 3D, implementing the
public class InfiniteProximity<T extends com.badlogic.gdx.math.Vector<T>> extends ProximityBase<T>
InfiniteProximityis likely the simplest type of Proximity one can imagine. All the agents contained in the specified list are considered neighbors of the owner, excluded the owner itself (if it is part of the list).
|Constructor and Description|
|Modifier and Type||Method and Description|
Finds the agents that are within the immediate area of the owner.
getAgents, getOwner, setAgents, setOwner
public int findNeighbors(Proximity.ProximityCallback<T> callback)
reportNeighbormethod of the specified callback.