Blame |
Last modification |
View Log
| RSS feed
package com.gebauz.bauzoid.graphics;
import com.gebauz.bauzoid.game.GameObject;
/** Children of the Graphics subsystem.
* Strictly speaking this is an extension of the GameObject in that it is part of the
* Game Graph. However, it provides direct access to the Graphics object without having
* to resort to the Game object
*/
public class GraphicsObject
extends GameObject
{
protected Graphics mGraphics =
null;
/** Constructor. */
public GraphicsObject
(Graphics graphics
)
{
super(graphics.
getGame());
mGraphics = graphics
;
}
/** Called to destroy internal GL resources and the like when the surface is lost. */
public void onSurfaceLost
()
{
}
/** Called when internal GL resources need to be recreated. */
public void onSurfaceRecreated
()
{
}
}