Package playn.scene
Class SceneGame
java.lang.Object
playn.core.Game
playn.scene.SceneGame
public abstract class SceneGame extends Game
A simple class for games which wish to use a single scene graph.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidsetClearColor(float red, float green, float blue, float alpha)Configures the color to which the frame buffer is cleared prior to painting the scene graph.voidsetClearColor(int argb)Configures the color to which the frame buffer is cleared prior to painting the scene graph.
-
Field Details
-
defaultBatch
-
viewSurf
-
rootLayer
-
-
Constructor Details
-
SceneGame
-
-
Method Details
-
setClearColor
public void setClearColor(float red, float green, float blue, float alpha)Configures the color to which the frame buffer is cleared prior to painting the scene graph. -
setClearColor
public void setClearColor(int argb)Configures the color to which the frame buffer is cleared prior to painting the scene graph.
-