-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.geometry.InfluenceSphere
public class InfluenceSphere2D<T extends Object> implements InfluenceSphere
A sphere of influence in the Euclidean world.
-
-
Constructor Summary
Constructors Constructor Description InfluenceSphere2D(Physics2DEnvironment<T> env, Node<T> owner, GeometricShape<Euclidean2DPosition, Euclidean2DTransformation> shape)
-
Method Summary
Modifier and Type Method Description List<Node<T>>influentialNodes()The list of nodes relevant for this sphere of influence. -
-
Constructor Detail
-
InfluenceSphere2D
InfluenceSphere2D(Physics2DEnvironment<T> env, Node<T> owner, GeometricShape<Euclidean2DPosition, Euclidean2DTransformation> shape)
- Parameters:
env-the environment where this sphere of influence is.owner-the node who owns this sphere of influence.shape-the shape of this sphere of influence
-
-
Method Detail
-
influentialNodes
List<Node<T>> influentialNodes()
The list of nodes relevant for this sphere of influence.
-
-
-
-