APIdia Launch Partner
Top Fields Constructors Methods
com.badlogic.gdx.tools.texturepacker

public Class TexturePackerTest

extends ApplicationAdapter
Class Inheritance
Imports
java.util.Random, com.badlogic.gdx.ApplicationAdapter, .Gdx, com.badlogic.gdx.backends.lwjgl.LwjglApplication, com.badlogic.gdx.graphics.Color, .GL20, com.badlogic.gdx.graphics.glutils.ShapeRenderer, .ShapeRenderer.ShapeType, com.badlogic.gdx.math.Matrix4, com.badlogic.gdx.tools.texturepacker.TexturePacker.Page, .TexturePacker.Rect, .TexturePacker.Settings, com.badlogic.gdx.utils.Array

Author
Nathan Sweet

Field Summary

Modifier and TypeField and Description
pack-priv Array<TexturePacker.Page>
pack-priv ShapeRenderer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public static void
main(String[] args)

public void
public void
resize(int width, int height)

Overrides com.badlogic.gdx.ApplicationAdapter.resize.

Implements com.badlogic.gdx.ApplicationListener.resize.

Called when the Application is resized.

Inherited from com.badlogic.gdx.ApplicationAdapter:
disposepauseresume

Field Detail

pagesback to summary
pack-priv Array<TexturePacker.Page> pages
rendererback to summary
pack-priv ShapeRenderer renderer

Constructor Detail

TexturePackerTestback to summary
public TexturePackerTest()

Method Detail

createback to summary
public void create()

Overrides com.badlogic.gdx.ApplicationAdapter.create.

Implements com.badlogic.gdx.ApplicationListener.create.

Doc from com.badlogic.gdx.ApplicationListener.create.

Called when the Application is first created.

mainback to summary
public static void main(String[] args) throws Exception
renderback to summary
public void render()

Overrides com.badlogic.gdx.ApplicationAdapter.render.

Implements com.badlogic.gdx.ApplicationListener.render.

Doc from com.badlogic.gdx.ApplicationListener.render.

Called when the Application should render itself.

resizeback to summary
public void resize(int width, int height)

Overrides com.badlogic.gdx.ApplicationAdapter.resize.

Implements com.badlogic.gdx.ApplicationListener.resize.

Doc from com.badlogic.gdx.ApplicationListener.resize.

Called when the Application is resized. This can happen at any point during a non-paused state but will never happen before a call to create().