Package playn.scene
Class SceneGame
java.lang.Object
playn.core.Game
playn.scene.SceneGame
A simple class for games which wish to use a single scene graph.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.void
setClearColor
(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.
-