public class SolidColorScene extends Scene
Constructor and Description |
---|
SolidColorScene(java.lang.String color_str)
Creates a new SolidColorScene object with the specified color.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(android.graphics.Canvas canvas)
Called by the game engine to draw this background onto the screen each frame.
|
public SolidColorScene(java.lang.String color_str)
This object should be passed into the GameObjectManager.setScene(Scene)
method in your GameLevel's setup code.
color_str
- a color string of the form "#f29833", for example from Google's color picker