com.threerings.tudey.data
Class EntityKey.Actor

java.lang.Object
  extended by com.threerings.io.SimpleStreamableObject
      extended by com.threerings.tudey.data.EntityKey
          extended by com.threerings.tudey.data.EntityKey.Actor
All Implemented Interfaces:
com.threerings.io.Streamable
Enclosing class:
EntityKey

public static class EntityKey.Actor
extends EntityKey

Identifies an actor.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.tudey.data.EntityKey
EntityKey.Actor, EntityKey.Entry
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
com.threerings.io.Streamable.Closure
 
Constructor Summary
EntityKey.Actor()
          No-arg constructor for deserialization.
EntityKey.Actor(int id)
          Creates a new actor key.
 
Method Summary
 boolean equals(Object other)
           
 int getId()
          Returns the actor's unique identifier.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntityKey.Actor

public EntityKey.Actor(int id)
Creates a new actor key.


EntityKey.Actor

public EntityKey.Actor()
No-arg constructor for deserialization.

Method Detail

getId

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


hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class com.threerings.io.SimpleStreamableObject


Copyright © 2011. All Rights Reserved.