InfluenceSphere2D

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

A sphere of influence in the Euclidean world.

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

Constructors

Link copied to clipboard
fun <T> InfluenceSphere2D(env: Physics2DEnvironment<T>, owner: Node<T>, shape: Euclidean2DShape)

Functions

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

The list of nodes relevant for this sphere of influence.

Inheritors

Link copied to clipboard