Uses of Class
com.badlogic.gdx.utils.Array
-
-
Uses of Array in com.badlogic.gdx
Methods in com.badlogic.gdx with parameters of type Array Modifier and Type Method Description void
InputMultiplexer. setProcessors(Array<InputProcessor> processors)
-
Uses of Array in com.badlogic.gdx.assets
Methods in com.badlogic.gdx.assets that return Array Modifier and Type Method Description <T> Array<T>
AssetManager. getAll(java.lang.Class<T> type, Array<T> out)
Array<java.lang.String>
AssetManager. getAssetNames()
Array<java.lang.String>
AssetManager. getDependencies(java.lang.String fileName)
Methods in com.badlogic.gdx.assets with parameters of type Array Modifier and Type Method Description <T> Array<T>
AssetManager. getAll(java.lang.Class<T> type, Array<T> out)
-
Uses of Array in com.badlogic.gdx.assets.loaders
Fields in com.badlogic.gdx.assets.loaders declared as Array Modifier and Type Field Description protected Array<ObjectMap.Entry<java.lang.String,ModelData>>
ModelLoader. items
Methods in com.badlogic.gdx.assets.loaders that return Array Modifier and Type Method Description abstract Array<AssetDescriptor>
AssetLoader. getDependencies(java.lang.String fileName, FileHandle file, P parameter)
Returns the assets this asset requires to be loaded first.Array<AssetDescriptor>
BitmapFontLoader. getDependencies(java.lang.String fileName, FileHandle file, BitmapFontLoader.BitmapFontParameter parameter)
Array<AssetDescriptor>
CubemapLoader. getDependencies(java.lang.String fileName, FileHandle file, CubemapLoader.CubemapParameter parameter)
Array<AssetDescriptor>
I18NBundleLoader. getDependencies(java.lang.String fileName, FileHandle file, I18NBundleLoader.I18NBundleParameter parameter)
Array<AssetDescriptor>
ModelLoader. getDependencies(java.lang.String fileName, FileHandle file, P parameters)
Array<AssetDescriptor>
MusicLoader. getDependencies(java.lang.String fileName, FileHandle file, MusicLoader.MusicParameter parameter)
Array<AssetDescriptor>
ParticleEffectLoader. getDependencies(java.lang.String fileName, FileHandle file, ParticleEffectLoader.ParticleEffectParameter param)
Array<AssetDescriptor>
PixmapLoader. getDependencies(java.lang.String fileName, FileHandle file, PixmapLoader.PixmapParameter parameter)
Array<AssetDescriptor>
ShaderProgramLoader. getDependencies(java.lang.String fileName, FileHandle file, ShaderProgramLoader.ShaderProgramParameter parameter)
Array<AssetDescriptor>
SkinLoader. getDependencies(java.lang.String fileName, FileHandle file, SkinLoader.SkinParameter parameter)
Array<AssetDescriptor>
SoundLoader. getDependencies(java.lang.String fileName, FileHandle file, SoundLoader.SoundParameter parameter)
Array<AssetDescriptor>
TextureAtlasLoader. getDependencies(java.lang.String fileName, FileHandle atlasFile, TextureAtlasLoader.TextureAtlasParameter parameter)
Array<AssetDescriptor>
TextureLoader. getDependencies(java.lang.String fileName, FileHandle file, TextureLoader.TextureParameter parameter)
-
Uses of Array in com.badlogic.gdx.graphics.g2d
Fields in com.badlogic.gdx.graphics.g2d declared as Array Modifier and Type Field Description Array<BitmapFont.Glyph>
GlyphLayout.GlyphRun. glyphs
Array<GlyphLayout.GlyphRun>
GlyphLayout. runs
Each run has the glyphs for a line of text.Methods in com.badlogic.gdx.graphics.g2d that return Array Modifier and Type Method Description Array<Sprite>
TextureAtlas. createSprites()
Returns all regions in the atlas as sprites.Array<Sprite>
TextureAtlas. createSprites(java.lang.String name)
Returns all regions with the specified name as sprites, ordered by smallest to largestindex
.Array<TextureAtlas.AtlasRegion>
TextureAtlas. findRegions(java.lang.String name)
Returns all regions with the specified name, ordered by smallest to largestindex
.Array<AssetDescriptor>
PolygonRegionLoader. getDependencies(java.lang.String fileName, FileHandle file, PolygonRegionLoader.PolygonRegionParameters params)
If the PSH file contains a line starting withparams.texturePrefix
, anAssetDescriptor
for the file referenced on that line will be added to the returned Array.Array<ParticleEmitter>
ParticleEffect. getEmitters()
Array<java.lang.String>
ParticleEmitter. getImagePaths()
Array<GlyphLayout>
BitmapFontCache. getLayouts()
Array<PixmapPacker.Page>
PixmapPacker. getPages()
Array<TextureAtlas.TextureAtlasData.Page>
TextureAtlas.TextureAtlasData. getPages()
Array<TextureRegion>
BitmapFont. getRegions()
Returns the array of TextureRegions that represents each texture page of glyphs.Array<TextureAtlas.AtlasRegion>
TextureAtlas. getRegions()
Returns all regions in the atlas.Array<TextureAtlas.TextureAtlasData.Region>
TextureAtlas.TextureAtlasData. getRegions()
Array<Sprite>
ParticleEmitter. getSprites()
Methods in com.badlogic.gdx.graphics.g2d with parameters of type Array Modifier and Type Method Description int
BitmapFont.BitmapFontData. getWrapIndex(Array<BitmapFont.Glyph> glyphs, int start)
Returns the first valid glyph index to use to wrap to the next line, starting at the specified start index and (typically) moving toward the beginning of the glyphs array.void
ParticleEmitter. setImagePaths(Array<java.lang.String> imagePaths)
void
ParticleEmitter. setSprites(Array<Sprite> sprites)
void
PixmapPacker.GuillotineStrategy. sort(Array<Pixmap> pixmaps)
void
PixmapPacker.PackStrategy. sort(Array<Pixmap> images)
void
PixmapPacker.SkylineStrategy. sort(Array<Pixmap> images)
void
PixmapPacker. sort(Array<Pixmap> images)
Sorts the images to the optimzal order they should be packed.void
PixmapPacker. updateTextureRegions(Array<TextureRegion> regions, Texture.TextureFilter minFilter, Texture.TextureFilter magFilter, boolean useMipMaps)
CallsupdateTexture
for each page and adds a region to the specified array for each page texture.Constructors in com.badlogic.gdx.graphics.g2d with parameters of type Array Constructor Description Animation(float frameDuration, Array<? extends T> keyFrames)
Constructor, storing the frame duration and key frames.Animation(float frameDuration, Array<? extends T> keyFrames, Animation.PlayMode playMode)
Constructor, storing the frame duration and key frames.BitmapFont(BitmapFont.BitmapFontData data, Array<TextureRegion> pageRegions, boolean integer)
Constructs a new BitmapFont from the givenBitmapFont.BitmapFontData
and array ofTextureRegion
.DistanceFieldFont(BitmapFont.BitmapFontData data, Array<TextureRegion> pageRegions, boolean integer)
-
Uses of Array in com.badlogic.gdx.graphics.g3d
Fields in com.badlogic.gdx.graphics.g3d declared as Array Modifier and Type Field Description Array<Animation>
Model. animations
animations of the model, modifying node transformationsArray<Animation>
ModelInstance. animations
animations of the model, modifying node transformationsprotected Array<Attribute>
Attributes. attributes
protected Array<Disposable>
Model. disposables
Array of disposable resources like textures or meshes the Model is responsible for disposingArray<Material>
Model. materials
the materials of the model, used by nodes that have a graphical representation FIXME not sure if superfluous, allows modification of materials without having to traverse the nodesArray<Material>
ModelInstance. materials
the materials of the model, used by nodes that have a graphical representation FIXME not sure if superfluous, allows modification of materials without having to traverse the nodesArray<Mesh>
Model. meshes
the meshes of the modelArray<MeshPart>
Model. meshParts
parts of meshes, used by nodes that have a graphical representation FIXME not sure if superfluous, stored in Nodes as well, could be useful to create bullet meshesArray<Node>
Model. nodes
root nodes of the modelArray<Node>
ModelInstance. nodes
root nodes of the modelprotected Array<Renderable>
ModelBatch. renderables
list of Renderables to be rendered in the current batchMethods in com.badlogic.gdx.graphics.g3d that return Array Modifier and Type Method Description Array<Attribute>
Attributes. get(Array<Attribute> out, long type)
Get multiple attributes at once.Methods in com.badlogic.gdx.graphics.g3d with parameters of type Array Modifier and Type Method Description Environment
Environment. add(Array<BaseLight> lights)
Array<Attribute>
Attributes. get(Array<Attribute> out, long type)
Get multiple attributes at once.void
ModelCache. getRenderables(Array<Renderable> renderables, Pool<Renderable> pool)
protected void
ModelInstance. getRenderables(Node node, Array<Renderable> renderables, Pool<Renderable> pool)
void
ModelInstance. getRenderables(Array<Renderable> renderables, Pool<Renderable> pool)
Traverses the Node hierarchy and collectsRenderable
instances for every node with a graphical representation.void
RenderableProvider. getRenderables(Array<Renderable> renderables, Pool<Renderable> pool)
ReturnsRenderable
instances.Environment
Environment. remove(Array<BaseLight> lights)
void
ModelCache.Sorter. sort(Camera camera, Array<Renderable> renderables)
Constructors in com.badlogic.gdx.graphics.g3d with parameters of type Array Constructor Description Material(Array<Attribute> attributes)
Create a material with the specified attributesMaterial(java.lang.String id, Array<Attribute> attributes)
Create a material with the specified attributesModelInstance(Model model, Matrix4 transform, Array<java.lang.String> rootNodeIds)
Constructs a new ModelInstance with only the specified nodes and materials of the given model.ModelInstance(Model model, Matrix4 transform, Array<java.lang.String> rootNodeIds, boolean shareKeyframes)
Constructs a new ModelInstance with only the specified nodes and materials of the given model.ModelInstance(Model model, Array<java.lang.String> rootNodeIds)
Constructs a new ModelInstance with only the specified nodes and materials of the given model. -
Uses of Array in com.badlogic.gdx.graphics.g3d.attributes
Fields in com.badlogic.gdx.graphics.g3d.attributes declared as Array Modifier and Type Field Description Array<DirectionalLight>
DirectionalLightsAttribute. lights
Array<PointLight>
PointLightsAttribute. lights
Array<SpotLight>
SpotLightsAttribute. lights
-
Uses of Array in com.badlogic.gdx.graphics.g3d.decals
Methods in com.badlogic.gdx.graphics.g3d.decals with parameters of type Array Modifier and Type Method Description void
CameraGroupStrategy. beforeGroup(int group, Array<Decal> contents)
void
GroupPlug. beforeGroup(Array<Decal> contents)
void
GroupStrategy. beforeGroup(int group, Array<Decal> contents)
Invoked directly before rendering the contents of a groupvoid
PluggableGroupStrategy. beforeGroup(int group, Array<Decal> contents)
void
SimpleOrthoGroupStrategy. beforeGroup(int group, Array<Decal> contents)
-
Uses of Array in com.badlogic.gdx.graphics.g3d.loader
Methods in com.badlogic.gdx.graphics.g3d.loader that return Array Modifier and Type Method Description protected Array<ModelNode>
G3dModelLoader. parseNodes(ModelData model, JsonValue json)
-
Uses of Array in com.badlogic.gdx.graphics.g3d.model
Fields in com.badlogic.gdx.graphics.g3d.model declared as Array Modifier and Type Field Description Array<NodeAnimation>
Animation. nodeAnimations
the animation curves for individual nodesArray<NodePart>
Node. parts
Array<NodeKeyframe<Quaternion>>
NodeAnimation. rotation
the rotation keyframes if any (might be null), sorted by time ascendingArray<NodeKeyframe<Vector3>>
NodeAnimation. scaling
the scaling keyframes if any (might be null), sorted by time ascendingArray<NodeKeyframe<Vector3>>
NodeAnimation. translation
the translation keyframes if any (might be null), sorted by time ascendingMethods in com.badlogic.gdx.graphics.g3d.model with parameters of type Array Modifier and Type Method Description static Node
Node. getNode(Array<Node> nodes, java.lang.String id, boolean recursive, boolean ignoreCase)
Helper method to recursive fetch a node from an array -
Uses of Array in com.badlogic.gdx.graphics.g3d.model.data
Fields in com.badlogic.gdx.graphics.g3d.model.data declared as Array Modifier and Type Field Description Array<ModelAnimation>
ModelData. animations
Array<ModelMaterial>
ModelData. materials
Array<ModelMesh>
ModelData. meshes
Array<ModelNodeAnimation>
ModelAnimation. nodeAnimations
Array<ModelNode>
ModelData. nodes
Array<ModelNodeKeyframe<Quaternion>>
ModelNodeAnimation. rotation
the keyframes, defining the rotation of a node for a specific timestampArray<ModelNodeKeyframe<Vector3>>
ModelNodeAnimation. scaling
the keyframes, defining the scaling of a node for a specific timestampArray<ModelTexture>
ModelMaterial. textures
Array<ModelNodeKeyframe<Vector3>>
ModelNodeAnimation. translation
the keyframes, defining the translation of a node for a specific timestamp -
Uses of Array in com.badlogic.gdx.graphics.g3d.particles
Fields in com.badlogic.gdx.graphics.g3d.particles declared as Array Modifier and Type Field Description Array<Influencer>
ParticleController. influencers
Update the properties of the particlesprotected Array<ObjectMap.Entry<java.lang.String,ResourceData<ParticleEffect>>>
ParticleEffectLoader. items
Methods in com.badlogic.gdx.graphics.g3d.particles that return Array Modifier and Type Method Description Array<AssetDescriptor>
ResourceData. getAssetDescriptors()
Array<ResourceData.AssetData>
ResourceData. getAssets()
Array<ParticleBatch<?>>
ParticleSystem. getBatches()
Array<ParticleController>
ParticleEffect. getControllers()
Array<AssetDescriptor>
ParticleEffectLoader. getDependencies(java.lang.String fileName, FileHandle file, ParticleEffectLoader.ParticleEffectLoadParameter parameter)
Methods in com.badlogic.gdx.graphics.g3d.particles with parameters of type Array Modifier and Type Method Description void
ParticleSystem. getRenderables(Array<Renderable> renderables, Pool<Renderable> pool)
void
ParticleEffect. setBatch(Array<ParticleBatch<?>> batches)
Assign one batch, among those passed in, to each controller.<T extends ParticleControllerRenderData>
int[]ParticleSorter.Distance. sort(Array<T> renderData)
<T extends ParticleControllerRenderData>
int[]ParticleSorter.None. sort(Array<T> renderData)
abstract <T extends ParticleControllerRenderData>
int[]ParticleSorter. sort(Array<T> renderData)
Constructors in com.badlogic.gdx.graphics.g3d.particles with parameters of type Array Constructor Description ParticleEffectLoadParameter(Array<ParticleBatch<?>> batches)
ParticleEffectSaveParameter(FileHandle file, AssetManager manager, Array<ParticleBatch<?>> batches)
ParticleEffectSaveParameter(FileHandle file, AssetManager manager, Array<ParticleBatch<?>> batches, JsonWriter.OutputType jsonOutputType, boolean prettyPrint)
-
Uses of Array in com.badlogic.gdx.graphics.g3d.particles.batches
Fields in com.badlogic.gdx.graphics.g3d.particles.batches declared as Array Modifier and Type Field Description protected Array<T>
BufferedParticleBatch. renderData
Methods in com.badlogic.gdx.graphics.g3d.particles.batches with parameters of type Array Modifier and Type Method Description void
BillboardParticleBatch. getRenderables(Array<Renderable> renderables, Pool<Renderable> pool)
void
ModelInstanceParticleBatch. getRenderables(Array<Renderable> renderables, Pool<Renderable> pool)
void
PointSpriteParticleBatch. getRenderables(Array<Renderable> renderables, Pool<Renderable> pool)
-
Uses of Array in com.badlogic.gdx.graphics.g3d.particles.influencers
Fields in com.badlogic.gdx.graphics.g3d.particles.influencers declared as Array Modifier and Type Field Description Array<Model>
ModelInfluencer. models
Array<RegionInfluencer.AspectTextureRegion>
RegionInfluencer. regions
Array<ParticleController>
ParticleControllerInfluencer. templates
Array<DynamicsModifier>
DynamicsInfluencer. velocities
-
Uses of Array in com.badlogic.gdx.graphics.g3d.utils
Fields in com.badlogic.gdx.graphics.g3d.utils declared as Array Modifier and Type Field Description protected Array<Shader>
BaseShaderProvider. shaders
Methods in com.badlogic.gdx.graphics.g3d.utils with parameters of type Array Modifier and Type Method Description void
ShapeCache. getRenderables(Array<Renderable> renderables, Pool<Renderable> pool)
void
DefaultRenderableSorter. sort(Camera camera, Array<Renderable> renderables)
void
RenderableSorter. sort(Camera camera, Array<Renderable> renderables)
Sorts the array ofRenderable
instances based on some criteria, e.g. -
Uses of Array in com.badlogic.gdx.graphics.glutils
Fields in com.badlogic.gdx.graphics.glutils declared as Array Modifier and Type Field Description protected Array<T>
GLFrameBuffer. textureAttachments
the color buffer textureprotected Array<GLFrameBuffer.FrameBufferTextureAttachmentSpec>
GLFrameBuffer.GLFrameBufferBuilder. textureAttachmentSpecs
Fields in com.badlogic.gdx.graphics.glutils with type parameters of type Array Modifier and Type Field Description protected static java.util.Map<Application,Array<GLFrameBuffer>>
GLFrameBuffer. buffers
the frame buffersMethods in com.badlogic.gdx.graphics.glutils that return Array Modifier and Type Method Description Array<T>
GLFrameBuffer. getTextureAttachments()
Return the Texture attachments attached to the fbo -
Uses of Array in com.badlogic.gdx.maps
Methods in com.badlogic.gdx.maps that return Array Modifier and Type Method Description <T extends MapLayer>
Array<T>MapLayers. getByType(java.lang.Class<T> type)
<T extends MapLayer>
Array<T>MapLayers. getByType(java.lang.Class<T> type, Array<T> fill)
<T extends MapObject>
Array<T>MapObjects. getByType(java.lang.Class<T> type)
<T extends MapObject>
Array<T>MapObjects. getByType(java.lang.Class<T> type, Array<T> fill)
Methods in com.badlogic.gdx.maps with parameters of type Array Modifier and Type Method Description <T extends MapLayer>
Array<T>MapLayers. getByType(java.lang.Class<T> type, Array<T> fill)
<T extends MapObject>
Array<T>MapObjects. getByType(java.lang.Class<T> type, Array<T> fill)
-
Uses of Array in com.badlogic.gdx.maps.tiled
Fields in com.badlogic.gdx.maps.tiled declared as Array Modifier and Type Field Description protected Array<java.lang.Runnable>
BaseTmxMapLoader. runOnEndOfLoadTiled
protected Array<Texture>
AtlasTmxMapLoader. trackedTextures
Methods in com.badlogic.gdx.maps.tiled that return Array Modifier and Type Method Description Array<AssetDescriptor>
BaseTmxMapLoader. getDependencies(java.lang.String fileName, FileHandle tmxFile, P parameter)
Array<AssetDescriptor>
TideMapLoader. getDependencies(java.lang.String fileName, FileHandle tmxFile, TideMapLoader.Parameters parameter)
protected Array<AssetDescriptor>
AtlasTmxMapLoader. getDependencyAssetDescriptors(FileHandle tmxFile, TextureLoader.TextureParameter textureParameter)
protected abstract Array<AssetDescriptor>
BaseTmxMapLoader. getDependencyAssetDescriptors(FileHandle tmxFile, TextureLoader.TextureParameter textureParameter)
protected Array<AssetDescriptor>
TmxMapLoader. getDependencyAssetDescriptors(FileHandle tmxFile, TextureLoader.TextureParameter textureParameter)
protected Array<FileHandle>
TmxMapLoader. getDependencyFileHandles(FileHandle tmxFile)
Methods in com.badlogic.gdx.maps.tiled with parameters of type Array Modifier and Type Method Description protected void
AtlasTmxMapLoader. addStaticTiles(FileHandle tmxFile, ImageResolver imageResolver, TiledMapTileSet tileSet, XmlReader.Element element, Array<XmlReader.Element> tileElements, java.lang.String name, int firstgid, int tilewidth, int tileheight, int spacing, int margin, java.lang.String source, int offsetX, int offsetY, java.lang.String imageSource, int imageWidth, int imageHeight, FileHandle image)
protected abstract void
BaseTmxMapLoader. addStaticTiles(FileHandle tmxFile, ImageResolver imageResolver, TiledMapTileSet tileset, XmlReader.Element element, Array<XmlReader.Element> tileElements, java.lang.String name, int firstgid, int tilewidth, int tileheight, int spacing, int margin, java.lang.String source, int offsetX, int offsetY, java.lang.String imageSource, int imageWidth, int imageHeight, FileHandle image)
protected void
TmxMapLoader. addStaticTiles(FileHandle tmxFile, ImageResolver imageResolver, TiledMapTileSet tileSet, XmlReader.Element element, Array<XmlReader.Element> tileElements, java.lang.String name, int firstgid, int tilewidth, int tileheight, int spacing, int margin, java.lang.String source, int offsetX, int offsetY, java.lang.String imageSource, int imageWidth, int imageHeight, FileHandle image)
void
TiledMap. setOwnedResources(Array<? extends Disposable> resources)
Used by loaders to set resources when loading the map directly, withoutAssetManager
. -
Uses of Array in com.badlogic.gdx.maps.tiled.tiles
Constructors in com.badlogic.gdx.maps.tiled.tiles with parameters of type Array Constructor Description AnimatedTiledMapTile(float interval, Array<StaticTiledMapTile> frameTiles)
Creates an animated tile with the given animation interval and frame tiles.AnimatedTiledMapTile(IntArray intervals, Array<StaticTiledMapTile> frameTiles)
Creates an animated tile with the given animation intervals and frame tiles. -
Uses of Array in com.badlogic.gdx.math
Fields in com.badlogic.gdx.math declared as Array Modifier and Type Field Description Array<T>
BSpline. knots
Array<T>
Bezier. points
Methods in com.badlogic.gdx.math that return Array Modifier and Type Method Description Array<GridPoint2>
Bresenham2. line(int startX, int startY, int endX, int endY)
Returns a list ofGridPoint2
instances along the given line, at integer coordinates.Array<GridPoint2>
Bresenham2. line(int startX, int startY, int endX, int endY, Pool<GridPoint2> pool, Array<GridPoint2> output)
Returns a list ofGridPoint2
instances along the given line, at integer coordinates.Array<GridPoint2>
Bresenham2. line(GridPoint2 start, GridPoint2 end)
Returns a list ofGridPoint2
instances along the given line, at integer coordinates.Methods in com.badlogic.gdx.math with parameters of type Array Modifier and Type Method Description static boolean
Intersector. isPointInPolygon(Array<Vector2> polygon, Vector2 point)
Checks whether the given point is in the polygon.Array<GridPoint2>
Bresenham2. line(int startX, int startY, int endX, int endY, Pool<GridPoint2> pool, Array<GridPoint2> output)
Returns a list ofGridPoint2
instances along the given line, at integer coordinates.Bezier
Bezier. set(Array<T> points, int offset, int length)
Constructors in com.badlogic.gdx.math with parameters of type Array Constructor Description Bezier(Array<T> points, int offset, int length)
-
Uses of Array in com.badlogic.gdx.scenes.scene2d
Methods in com.badlogic.gdx.scenes.scene2d that return Array Modifier and Type Method Description Array<Action>
Actor. getActions()
Array<Actor>
Stage. getActors()
Returns the root's child actors. -
Uses of Array in com.badlogic.gdx.scenes.scene2d.actions
Methods in com.badlogic.gdx.scenes.scene2d.actions that return Array Modifier and Type Method Description Array<Action>
ParallelAction. getActions()
-
Uses of Array in com.badlogic.gdx.scenes.scene2d.ui
Methods in com.badlogic.gdx.scenes.scene2d.ui that return Array Modifier and Type Method Description Array<T>
ButtonGroup. getAllChecked()
Array<T>
ButtonGroup. getButtons()
Array<Cell>
Table. getCells()
Returns the cells for this table.Array<N>
Tree.Node. getChildren()
If the children order is changed,Tree.Node.updateChildren()
must be called to ensure the node's actors are in the correct order.Array<T>
List. getItems()
Returns the internal items array.Array<T>
SelectBox. getItems()
Returns the internal items array.Array<N>
Tree. getNodes()
Deprecated.UseTree.getRootNodes()
.Array<TextureRegion>
Skin. getRegions(java.lang.String regionName)
Array<N>
Tree. getRootNodes()
If the order of the root nodes is changed,Tree.updateRootNodes()
must be called to ensure the nodes' actors are in the correct order.Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Array Modifier and Type Method Description void
Tree.Node. addAll(Array<N> nodes)
protected float
Tree. drawIcons(Batch batch, float r, float g, float b, float a, N parent, Array<N> nodes, float indent, float plusMinusWidth)
Draws selection, icons, and expand icons.void
Tree. findExpandedValues(Array<V> values)
void
Tree.Node. findExpandedValues(Array<V> values)
void
Tree.Node. restoreExpandedValues(Array<V> values)
void
Tree. restoreExpandedValues(Array<V> values)
void
List. setItems(Array newItems)
Sets the items visible in the list, clearing the selection if it is no longer valid.void
SelectBox. setItems(Array<T> newItems)
Sets the items visible in the select box. -
Uses of Array in com.badlogic.gdx.scenes.scene2d.utils
Methods in com.badlogic.gdx.scenes.scene2d.utils that return Array Modifier and Type Method Description Array<T>
Selection. toArray()
Array<T>
Selection. toArray(Array<T> array)
Methods in com.badlogic.gdx.scenes.scene2d.utils with parameters of type Array Modifier and Type Method Description void
Selection. addAll(Array<T> items)
void
Selection. removeAll(Array<T> items)
void
Selection. setAll(Array<T> items)
Array<T>
Selection. toArray(Array<T> array)
Constructors in com.badlogic.gdx.scenes.scene2d.utils with parameters of type Array Constructor Description ArraySelection(Array<T> array)
-
Uses of Array in com.badlogic.gdx.utils
Subclasses of Array in com.badlogic.gdx.utils Modifier and Type Class Description class
DelayedRemovalArray<T>
An array that queues removal during iteration until the iteration has completed.class
SnapshotArray<T>
An array that allows modification during iteration.Fields in com.badlogic.gdx.utils declared as Array Modifier and Type Field Description Array<PerformanceCounter>
PerformanceCounters. counters
protected Array<T>
FlushablePool. obtained
Methods in com.badlogic.gdx.utils that return Array Modifier and Type Method Description Array<XmlReader.Element>
XmlReader.Element. getChildrenByName(java.lang.String name)
Array<XmlReader.Element>
XmlReader.Element. getChildrenByNameRecursively(java.lang.String name)
static <T> Array<T>
Array. of(boolean ordered, int capacity, java.lang.Class<T> arrayType)
static <T> Array<T>
Array. of(java.lang.Class<T> arrayType)
Array<T>
OrderedSet. orderedItems()
Array<K>
OrderedMap. orderedKeys()
Array<K>
ArrayMap.Keys. toArray()
Array<K>
ArrayMap.Keys. toArray(Array array)
Array<V>
ArrayMap.Values. toArray()
Array<V>
ArrayMap.Values. toArray(Array array)
Array<V>
IntMap.Values. toArray()
Returns a new array containing the remaining values.Array<V>
LongMap.Values. toArray()
Returns a new array containing the remaining values.Array<K>
ObjectFloatMap.Keys. toArray()
Returns a new array containing the remaining keys.Array<K>
ObjectFloatMap.Keys. toArray(Array<K> array)
Adds the remaining keys to the array.Array<K>
ObjectIntMap.Keys. toArray()
Returns a new array containing the remaining keys.Array<K>
ObjectIntMap.Keys. toArray(Array<K> array)
Adds the remaining keys to the array.Array<K>
ObjectLongMap.Keys. toArray()
Returns a new array containing the remaining keys.Array<K>
ObjectLongMap.Keys. toArray(Array<K> array)
Adds the remaining keys to the array.Array<K>
ObjectMap.Keys. toArray()
Returns a new array containing the remaining keys.Array<K>
ObjectMap.Keys. toArray(Array<K> array)
Adds the remaining keys to the array.Array<V>
ObjectMap.Values. toArray()
Returns a new array containing the remaining values.Array<V>
ObjectMap.Values. toArray(Array<V> array)
Adds the remaining values to the specified array.Array<K>
ObjectSet.ObjectSetIterator. 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>
OrderedMap.OrderedMapKeys. toArray()
Array<K>
OrderedMap.OrderedMapKeys. toArray(Array<K> array)
Array<V>
OrderedMap.OrderedMapValues. toArray()
Array<V>
OrderedMap.OrderedMapValues. toArray(Array<V> array)
Array<K>
OrderedSet.OrderedSetIterator. toArray()
Array<K>
OrderedSet.OrderedSetIterator. toArray(Array<K> array)
static <T> Array<T>
Array. with(T... array)
Methods in com.badlogic.gdx.utils with parameters of type Array Modifier and Type Method Description void
Array. addAll(Array<? extends T> array)
void
Array. addAll(Array<? extends T> array, int start, int count)
void
ObjectSet. addAll(Array<? extends T> array)
void
ObjectSet. addAll(Array<? extends T> array, int offset, int length)
boolean
Array. containsAll(Array<? extends T> values, boolean identity)
Returns true if this array contains all the specified values.boolean
Array. containsAny(Array<? extends T> values, boolean identity)
Returns true if this array contains any the specified values.void
FlushablePool. freeAll(Array<T> objects)
void
Pool. freeAll(Array<T> objects)
Puts the specified objects in the pool.static void
Pools. freeAll(Array objects)
Frees the specified objects from thepool
.static void
Pools. freeAll(Array objects, boolean samePool)
Frees the specified objects from thepool
.boolean
Array. removeAll(Array<? extends T> array, boolean identity)
Removes from this array all of elements contained in the specified array.boolean
SnapshotArray. removeAll(Array<? extends T> array, boolean identity)
<T extends java.lang.Comparable>
voidSort. sort(Array<T> a)
<T> void
Sort. sort(Array<T> a, java.util.Comparator<? super T> c)
protected void
Json. sortFields(java.lang.Class type, Array<java.lang.String> fieldNames)
Called to sort the fields for a class.Array<K>
ArrayMap.Keys. toArray(Array array)
Array<V>
ArrayMap.Values. toArray(Array array)
Array<K>
ObjectFloatMap.Keys. toArray(Array<K> array)
Adds the remaining keys to the array.Array<K>
ObjectIntMap.Keys. toArray(Array<K> array)
Adds the remaining keys to the array.Array<K>
ObjectLongMap.Keys. toArray(Array<K> array)
Adds the remaining keys 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.Array<K>
ObjectSet.ObjectSetIterator. toArray(Array<K> array)
Adds the remaining values to the array.Array<K>
OrderedMap.OrderedMapKeys. toArray(Array<K> array)
Array<V>
OrderedMap.OrderedMapValues. toArray(Array<V> array)
Array<K>
OrderedSet.OrderedSetIterator. toArray(Array<K> array)
Constructors in com.badlogic.gdx.utils with parameters of type Array Constructor 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)
DelayedRemovalArray(Array array)
SnapshotArray(Array array)
-