Package it.unibo.alchemist.model.physics
Class InfluenceSphere2D
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.physics.InfluenceSphere
public class InfluenceSphere2D<T extends Object> implements InfluenceSphere<T>
A sphere of influence in the Euclidean world.
-
-
Constructor Summary
Constructors Constructor Description InfluenceSphere2D(Physics2DEnvironment<T> environment, Node<T> owner, Shape<Euclidean2DPosition, Euclidean2DTransformation> shape)
-
Method Summary
Modifier and Type Method Description List<Node<T>>
influentialNodes()
List of influential nodes. -
-
Constructor Detail
-
InfluenceSphere2D
InfluenceSphere2D(Physics2DEnvironment<T> environment, Node<T> owner, Shape<Euclidean2DPosition, Euclidean2DTransformation> shape)
- Parameters:
environment
-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()
List of influential nodes. (e.g. nodes withing a field of view).
-
-
-
-