InfluenceSphere2D

open class InfluenceSphere2D<T>(environment: Physics2DEnvironment<T>, owner: Node<T>, shape: Euclidean2DShape) : InfluenceSphere<T>

A sphere of influence in the Euclidean world.

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

Inheritors

Constructors

Link copied to clipboard
constructor(environment: Physics2DEnvironment<T>, owner: Node<T>, shape: Euclidean2DShape)

Functions

Link copied to clipboard
open override fun influentialNodes(): List<Node<T>>

List of influential nodes. (e.g. nodes withing a field of view).