com.threerings.tudey.data.actor
Interface Prespawnable


public interface Prespawnable

An interface for actors that can be prespawned immediately on the client before being spawned for real later on the server.


Method Summary
 int getClientOid()
          Returns the oid of the client that (may have) prespawned the actor.
 void noteSource(Actor actor)
          Notes the source of the prespawn.
 void setClientOid(int clientOid)
          Sets the oid of the client that (may have) prespawned the actor, or zero for none.
 

Method Detail

noteSource

void noteSource(Actor actor)
Notes the source of the prespawn. Whether or not this changes the actor's state is implemention-dependent.


setClientOid

void setClientOid(int clientOid)
Sets the oid of the client that (may have) prespawned the actor, or zero for none.


getClientOid

int getClientOid()
Returns the oid of the client that (may have) prespawned the actor.



Copyright © 2011. All Rights Reserved.