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 exists

owner

the node that owns this sphere

shape

the geometric shape defining the sphere of influence

Type Parameters

T

the concentration type

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).