T
- Type of vector, either 2D or 3D, implementing the Vector
interfacepublic static interface FollowFlowField.FlowField<T extends com.badlogic.gdx.math.Vector<T>>
FlowField
defines a mapping from a location in space to a flow vector. Typically flow fields are implemented as a
multidimensional array representing a grid of cells. In each cell of the grid lives a flow vector.Modifier and Type | Method and Description |
---|---|
T |
lookup(T position)
Returns the flow vector for the specified position in space.
|