Stage.clear
Code IndexAdd Codota to your IDE (free)

Best code snippets using com.badlogic.gdx.scenes.scene2d.Stage.clear(Showing top 4 results out of 315)

origin: libgdx/libgdx

public void dispose () {
  clear();
  if (ownsBatch) batch.dispose();
}
origin: stackoverflow.com

curStage .clear();
origin: com.badlogicgames.gdx/gdx

public void dispose () {
  clear();
  if (ownsBatch) batch.dispose();
}
origin: com.badlogicgames.gdx/gdx

public void dispose () {
  clear();
  if (ownsBatch) batch.dispose();
}
com.badlogic.gdx.scenes.scene2dStageclear

Javadoc

Removes the root's children, actions, and listeners.

Popular methods of Stage

  • act
    Calls the Actor#act(float) method on each actor in the stage. Typically called each frame. This meth
  • addActor
    Adds an actor to the root of the stage.
  • draw
  • <init>
    Creates a stage with the specified viewport and batch. This can be used to avoid creating a new batc
  • getHeight
    The viewport's world height.
  • getRoot
    Returns the root group which holds all actors in the stage.
  • dispose
  • getCamera
    The viewport's camera.
  • getWidth
    The viewport's world width.
  • addAction
    Adds an action to the root of the stage.
  • addListener
    Adds a listener to the root.
  • cancelTouchFocus
    Cancels touch focus for the specified actor.
  • addListener,
  • cancelTouchFocus,
  • getActionsRequestRendering,
  • getViewport,
  • setKeyboardFocus,
  • setViewport,
  • addCaptureListener,
  • addTouchFocus,
  • calculateScissors

Popular classes and methods

  • findViewById (Activity)
  • onCreateOptionsMenu (Activity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)