com.planeth.gtroids.stats
Class ObjectInfo

java.lang.Object
  extended bycom.planeth.gtroids.stats.ObjectInfo

public class ObjectInfo
extends java.lang.Object

ObjectInfo
Contains a dummy Object and its description.

Author:
Andreas Grässer, gal@planet-h.com.
created 07.12.2005
See Also:
ObjectInfoImagizer

Constructor Summary
ObjectInfo(AbstractGameObject object, java.lang.String description)
          Constructor for ObjectInfo.
 
Method Summary
 java.lang.String getDescription()
          Returns the description.
 AbstractGameObject getObject()
          Returns the object.
 void setDescription(java.lang.String description)
          Sets the description.
 void setObject(AbstractGameObject object)
          Sets the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectInfo

public ObjectInfo(AbstractGameObject object,
                  java.lang.String description)
Constructor for ObjectInfo.

Parameters:
object - a dummy instance of the object type
description - the description of the object type
Method Detail

getDescription

public java.lang.String getDescription()
Returns the description.

Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Sets the description.

Parameters:
description - The description to set.

getObject

public AbstractGameObject getObject()
Returns the object.

Returns:
Returns the object.

setObject

public void setObject(AbstractGameObject object)
Sets the object.

Parameters:
object - The object to set.