| Modifier and Type | Field and Description |
|---|---|
protected Array<Task<E>> |
BranchTask.children
The children of this branch task.
|
Array<BehaviorTree.Listener<E>> |
BehaviorTree.listeners |
| Constructor and Description |
|---|
BranchTask(Array<Task<E>> tasks)
Create a branch task with a list of children
|
SingleRunningChildBranch(Array<Task<E>> tasks)
Creates a
SingleRunningChildBranch task with a list of children |
| Constructor and Description |
|---|
DynamicGuardSelector(Array<Task<E>> tasks)
Creates a
DynamicGuardSelector branch with the given children. |
Parallel(Array<Task<E>> tasks)
Creates a parallel task with sequence policy and the given children
|
Parallel(Parallel.Policy policy,
Array<Task<E>> tasks)
Creates a parallel task with the given policy and children
|
RandomSelector(Array<Task<E>> tasks)
Creates a
RandomSelector branch with the given children. |
RandomSequence(Array<Task<E>> tasks)
Creates a
RandomSequence branch with the given children. |
Selector(Array<Task<E>> tasks)
Creates a
Selector branch with the given children. |
Sequence(Array<Task<E>> tasks)
Creates a
Sequence branch with the given children. |
| Modifier and Type | Field and Description |
|---|---|
protected Array<BehaviorTreeParser.DefaultBehaviorTreeReader.StackedTask<E>> |
BehaviorTreeParser.DefaultBehaviorTreeReader.stack |
| Modifier and Type | Method and Description |
|---|---|
static <T> Array<T> |
Array.empty() |
static <T> Array<T> |
Array.of(boolean ordered,
int capacity,
Class<T> arrayType) |
static <T> Array<T> |
Array.of(Class<T> arrayType) |
Array<K> |
ObjectSet.ObjectSetIterator.toArray()
Returns a new array containing the remaining values.
|
Array<V> |
ObjectMap.Values.toArray()
Returns a new array containing the remaining values.
|
Array<K> |
ObjectMap.Keys.toArray()
Returns a new array containing the remaining keys.
|
Array<V> |
IntMap.Values.toArray()
Returns a new array containing the remaining values.
|
Array<K> |
ObjectSet.ObjectSetIterator.toArray(Array<K> array)
Adds the remaining values to the array.
|
Array<K> |
ObjectMap.Keys.toArray(Array<K> array)
Adds the remaining keys to the array.
|
Array<V> |
ObjectMap.Values.toArray(Array<V> array)
Adds the remaining values to the specified array.
|
static <T> Array<T> |
Array.with(T... array) |
| Modifier and Type | Method and Description |
|---|---|
void |
ObjectSet.addAll(Array<? extends T> array) |
void |
Array.addAll(Array<? extends T> array) |
void |
ObjectSet.addAll(Array<? extends T> array,
int offset,
int length) |
void |
Array.addAll(Array<? extends T> array,
int start,
int count) |
boolean |
Array.removeAllByEquality(Array<? extends T> array)
Removes from this array all of elements contained in the specified array using .equals() to check.
|
boolean |
Array.removeAllByIdentity(Array<? extends T> array)
Removes from this array all of elements contained in the specified array using == to check.
|
<T> void |
Sort.sort(Array<T> a) |
<T> void |
Sort.sort(Array<T> a,
Comparator<? super T> c) |
Array<K> |
ObjectSet.ObjectSetIterator.toArray(Array<K> array)
Adds the remaining values to the array.
|
Array<K> |
ObjectMap.Keys.toArray(Array<K> array)
Adds the remaining keys to the array.
|
Array<V> |
ObjectMap.Values.toArray(Array<V> array)
Adds the remaining values to the specified array.
|
| Constructor and Description |
|---|
Array(Array<? extends T> array)
Creates a new array containing the elements in the specified array.
|
ArrayIterable(Array<T> array) |
ArrayIterable(Array<T> array,
boolean allowRemove) |
ArrayIterator(Array<T> array) |
ArrayIterator(Array<T> array,
boolean allowRemove) |
| Modifier and Type | Method and Description |
|---|---|
Array<BezierSpline.BezierCurve> |
BezierSpline.getCurves() |
| Modifier and Type | Method and Description |
|---|---|
static void |
Pools.freeAll(Array objects)
Frees the specified objects from the
pool. |
void |
Pool.freeAll(Array<T> objects)
Puts the specified objects in the pool.
|
static void |
Pools.freeAll(Array objects,
boolean samePool)
Frees the specified objects from the
pool. |
| Modifier and Type | Method and Description |
|---|---|
static Array<Field> |
ReflectionUtils.findDeclaredFieldsByType(Object instance,
Class<?> type)
Find declared fields of "instance" that have type / subtype of given "type" parameter.
|
static <A extends Annotation> |
ReflectionUtils.findFieldsByAnnotation(Object instance,
Class<A> annotationClass) |
static Array<Field> |
ReflectionUtils.findFieldsByTypeRecursive(Object instance,
Class<?> type)
Find all fields of "instance" that have type / subtype of given "type" parameter.
|
| Modifier and Type | Method and Description |
|---|---|
Array<Component> |
Entity.getComponents()
Warning: object allocation.
|
Array<Control> |
Entity.getControls()
Warning: object allocation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GameWorld.getCollidingEntities(Array<Entity> result,
Entity entity)
GC-friendly version of
GameWorld.getCollidingEntities(Entity). |
void |
GameWorld.getEntitiesAt(Array<Entity> result,
javafx.geometry.Point2D position)
GC-friendly version of
GameWorld.getEntitiesAt(Point2D). |
void |
GameWorld.getEntitiesByLayer(Array<Entity> result,
RenderLayer layer)
GC-friendly version of
GameWorld.getEntitiesByLayer(RenderLayer). |
void |
GameWorld.getEntitiesByType(Array<Entity> result,
Enum<?>... types)
GC-friendly version of
GameWorld.getEntitiesByType(Enum[]). |
void |
GameWorld.getEntitiesFiltered(Array<Entity> result,
Predicate<Entity> predicate)
GC-friendly version of
GameWorld.getEntitiesFiltered(Predicate). |
void |
GameWorld.getEntitiesInRange(Array<Entity> result,
double minX,
double minY,
double maxX,
double maxY)
GC-friendly version of
GameWorld.getEntitiesInRange(Rectangle2D). |
| Modifier and Type | Field and Description |
|---|---|
protected Array<Particle> |
ParticleControl.particles |
Copyright © 2017. All rights reserved.