|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.expr.SimpleScope
com.threerings.tudey.client.sprite.ActorSprite.Implementation
public abstract static class ActorSprite.Implementation
The actual sprite implementation.
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
ActorSprite.Implementation(Scope parentScope)
Creates a new implementation. |
|
| Method Summary | |
|---|---|
void |
clearMessages()
Requests that the sprite clear any chat messages being displayed. |
Component |
createTooltipComponent(String tiptext)
Creates a tooltip component for the implementation (will only be called if getTooltipText() returns true). |
boolean |
dispatchEvent(Event event)
Dispatches an event on the implementation. |
boolean |
displayMessage(com.threerings.crowd.chat.data.UserMessage msg,
boolean alreadyDisplayed)
Gives the sprite a chance to display a message sent by the occupant controlling the actor. |
float |
getAttachedScale()
Returns a scale factor for attached models. |
int |
getFloorFlags()
Returns the sprite's floor flags. |
int |
getFloorMask()
Returns the sprite's floor mask. |
String |
getScopeName()
Returns the name of this scope for purposes of qualification. |
String |
getTooltipText()
Returns the implementation's tooltip text, or null for none. |
float |
getTooltipTimeout()
Returns the implementation's tooltip timeout, or -1 to use the default. |
String |
getTooltipWindowStyle()
Returns the implementation's tooltip window style. |
boolean |
isClickable()
Determines whether the implementation is clickable. |
boolean |
isHoverable()
Determines whether the implementation is hoverable. |
void |
occupantEntered(TudeyOccupantInfo info)
Notes that the occupant controlling this actor has entered. |
void |
occupantLeft(TudeyOccupantInfo info)
Notes that the occupant controlling this actor has left. |
void |
occupantUpdated(TudeyOccupantInfo oinfo,
TudeyOccupantInfo ninfo)
Notes that the occupant controlling this actor has been updated. |
void |
update(Actor actor)
Updates the implementation with new interpolated state. |
void |
wasCreated()
Notes that the actor was just created (as opposed to just being added). |
void |
willBeDestroyed()
Notes that the actor is about to be destroyed (as opposed to just being removed). |
| Methods inherited from class com.threerings.expr.SimpleScope |
|---|
addListener, dispose, get, getParentScope, removeListener, scopeUpdated |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActorSprite.Implementation(Scope parentScope)
| Method Detail |
|---|
public int getFloorFlags()
public int getFloorMask()
public boolean isHoverable()
public boolean isClickable()
public String getTooltipText()
null for none.
public float getTooltipTimeout()
public String getTooltipWindowStyle()
public Component createTooltipComponent(String tiptext)
getTooltipText() returns true).
public boolean dispatchEvent(Event event)
public void update(Actor actor)
public void wasCreated()
public void willBeDestroyed()
public void occupantEntered(TudeyOccupantInfo info)
public void occupantLeft(TudeyOccupantInfo info)
public void occupantUpdated(TudeyOccupantInfo oinfo,
TudeyOccupantInfo ninfo)
public boolean displayMessage(com.threerings.crowd.chat.data.UserMessage msg,
boolean alreadyDisplayed)
public void clearMessages()
public float getAttachedScale()
public String getScopeName()
Scopenull
if qualified symbols cannot specifically address this scope.
getScopeName in interface ScopegetScopeName in class SimpleScope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||