com.siemens.mp.game
Class GraphicObject

java.lang.Object
  extended bycom.siemens.mp.misc.NativeMem
      extended bycom.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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphicObject

protected GraphicObject()
Constructor declaration

Method Detail

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



Generated on 2003-10-17For further information and updates, please visit Siemens mobile Developer Portal