wyvern.kernel.player
Class GroundObjDescriptor

java.lang.Object
  extended bywyvern.kernel.player.GroundObjDescriptor

public class GroundObjDescriptor
extends java.lang.Object

This class encapsulates the appearance parameters for a single object in the client's ground view.

Version:
1.0, Aug 31, 1998
Author:
Steve Yegge

Constructor Summary
GroundObjDescriptor()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Returns true if this descriptor is functionally equal to another one (i.e. it looks the same to the camera).
 java.lang.String getCaption()
           
 java.lang.String getCommands()
           
 GameObject getObject()
           
 short getOffsets()
           
 Dimension getSize()
           
 int getTile()
           
 void setCaption(java.lang.String text)
           
 void setCommands(java.lang.String commands)
           
 void setObject(GameObject obj)
           
 void setOffsets(short offsets)
           
 void setSize(Dimension size)
           
 void setTile(int tile)
           
 java.lang.String toString()
          Returns a String description of the descriptor.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroundObjDescriptor

public GroundObjDescriptor()
Method Detail

setObject

public void setObject(GameObject obj)

getObject

public GameObject getObject()

getCaption

public java.lang.String getCaption()

setCaption

public void setCaption(java.lang.String text)

setCommands

public void setCommands(java.lang.String commands)

getCommands

public java.lang.String getCommands()

setTile

public void setTile(int tile)

getTile

public int getTile()

setOffsets

public void setOffsets(short offsets)

getOffsets

public short getOffsets()

setSize

public void setSize(Dimension size)

getSize

public Dimension getSize()

equals

public boolean equals(java.lang.Object obj)
Returns true if this descriptor is functionally equal to another one (i.e. it looks the same to the camera).


toString

public java.lang.String toString()
Returns a String description of the descriptor.