com.threerings.tudey.data
Class TudeySceneModel.IdEntry

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.tudey.data.TudeySceneModel.Entry
          extended by com.threerings.tudey.data.TudeySceneModel.IdEntry
All Implemented Interfaces:
Exportable, Copyable, Cloneable, Comparable<TudeySceneModel.IdEntry>
Direct Known Subclasses:
TudeySceneModel.AreaEntry, TudeySceneModel.GlobalEntry, TudeySceneModel.PathEntry, TudeySceneModel.PlaceableEntry
Enclosing class:
TudeySceneModel

public abstract static class TudeySceneModel.IdEntry
extends TudeySceneModel.Entry
implements Comparable<TudeySceneModel.IdEntry>

An entry identified by an integer id.


Constructor Summary
TudeySceneModel.IdEntry()
           
 
Method Summary
 int compareTo(TudeySceneModel.IdEntry other)
           
 int getId()
          Returns the entry's unique identifier.
 Object getKey()
          Returns the key for this entry.
 void setId(int id)
          Sets the entry's unique identifier.
 
Methods inherited from class com.threerings.tudey.data.TudeySceneModel.Entry
createCursor, createElement, createPatrolPath, createShape, createSprite, getBounds, getCollisionFlags, getElevation, getHandlers, getLogicClassName, getModel, getPreloads, getReference, getRotation, getTags, getTranslation, isDefaultEntrance, isValid, setReference, transform
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TudeySceneModel.IdEntry

public TudeySceneModel.IdEntry()
Method Detail

setId

public void setId(int id)
Sets the entry's unique identifier.


getId

public int getId()
Returns the entry's unique identifier.


compareTo

public int compareTo(TudeySceneModel.IdEntry other)
Specified by:
compareTo in interface Comparable<TudeySceneModel.IdEntry>

getKey

public Object getKey()
Description copied from class: TudeySceneModel.Entry
Returns the key for this entry.

Specified by:
getKey in class TudeySceneModel.Entry


Copyright © 2011. All Rights Reserved.