|
|||||||||
| Home >> All >> org >> meowers >> cide >> [ data overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.meowers.cide.data
Class GameObject

java.lang.Objectorg.meowers.cide.data.GameObject
- All Implemented Interfaces:
- java.io.Serializable
- public abstract class GameObject
- extends java.lang.Object
- implements java.io.Serializable
- extends java.lang.Object
This abstract class contains the framework for all types of objects necessary for the games internal data structures.
- Version:
- %I%, %G%
| Field Summary | |
(package private) boolean |
dirty
|
static int |
GAME_DATA
This is a GameData type game object. |
static int |
MAP
This is a Map type game object. |
(package private) static int |
MAX_TYPE
|
(package private) java.lang.String |
name
|
static int |
TILE
This is a Tile type game object. |
static int |
TILE_SET
This is a TileSet type game object. |
(package private) int |
type
|
| Constructor Summary | |
GameObject()
|
|
| Method Summary | |
java.lang.String |
getName()
Returns the internal name of this object. |
int |
getType()
Returns the type of this GameObject. |
boolean |
isDirty()
Returns true if this GameObject is dirty. |
void |
setName(java.lang.String name)
Sets the name of this GameObject to the specified
String. |
java.lang.String |
toString()
Converts this GameObject to a String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
GAME_DATA
public static final int GAME_DATA
- This is a
GameDatatype game object.- See Also:
- Constant Field Values
TILE
public static final int TILE
- This is a
Tiletype game object.- See Also:
- Constant Field Values
MAP
public static final int MAP
- This is a
Maptype game object.- See Also:
- Constant Field Values
TILE_SET
public static final int TILE_SET
- This is a
TileSettype game object.- See Also:
- Constant Field Values
MAX_TYPE
static final int MAX_TYPE
- See Also:
- Constant Field Values
dirty
boolean dirty
name
java.lang.String name
type
int type
| Constructor Detail |
GameObject
public GameObject()
| Method Detail |
isDirty
public boolean isDirty()
- Returns
trueif thisGameObjectis dirty.
getName
public java.lang.String getName()
- Returns the internal name of this object.
setName
public void setName(java.lang.String name)
- Sets the name of this
GameObjectto the specifiedString.
getType
public int getType()
- Returns the type of this
GameObject.
toString
public java.lang.String toString()
- Converts this
GameObjectto aString. TheStringrepresentation is the name of theGameObject.
|
|||||||||
| Home >> All >> org >> meowers >> cide >> [ data overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.meowers.cide.data.GameObject