T - Type of vector, either 2D or 3D, implementing the Vector interfacepublic abstract class RayConfigurationBase<T extends com.badlogic.gdx.math.Vector<T>> extends java.lang.Object implements RayConfiguration<T>
RayConfigurationBase is the base class for concrete ray configurations having a fixed number of rays.| Modifier and Type | Field and Description |
|---|---|
protected Steerable<T> |
owner |
protected Ray<T>[] |
rays |
| Constructor and Description |
|---|
RayConfigurationBase(Steerable<T> owner,
int numRays)
Creates a
RayConfigurationBase for the given owner and the specified number of rays. |
| Modifier and Type | Method and Description |
|---|---|
Steerable<T> |
getOwner()
Returns the owner of this configuration.
|
Ray<T>[] |
getRays()
Returns the rays of this configuration.
|
void |
setOwner(Steerable<T> owner)
Sets the owner of this configuration.
|
void |
setRays(Ray<T>[] rays)
Sets the rays of this configuration.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateRays