com.siemens.mp.game
Class GraphicObject
java.lang.Object
com.siemens.mp.misc.NativeMem
com.siemens.mp.game.GraphicObject
- Direct Known Subclasses:
- Sprite, TiledBackground
- public class GraphicObject
- extends com.siemens.mp.misc.NativeMem
The GraphicObject is the superclass of all other GraphicObjects
(such as Sprite
, TiledBackground
).
It contains the main GraphicObject handling and the definition
of the necessary virtual functions.
Constructor Summary |
protected |
GraphicObject()
Constructor declaration |
Method Summary |
boolean |
getVisible()
Returns the "visible" flag value |
void |
setVisible(boolean visible)
Sets the "visible" flag |
GraphicObject
protected GraphicObject()
- Constructor declaration
setVisible
public void setVisible(boolean visible)
- Sets the "visible" flag
- Parameters:
visible
- this object will be a visible GraphicObject, if "visible" is set to true.
getVisible
public boolean getVisible()
- Returns the "visible" flag value