|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.tudey.client.util.SceneMap
public class SceneMap
Maintains a simple map of the scene than can be rendered to the UI.
| Constructor Summary | |
|---|---|
SceneMap(TudeyContext ctx,
TudeySceneView view)
Creates a new scene map. |
|
| Method Summary | |
|---|---|
void |
didLeavePlace(com.threerings.crowd.data.PlaceObject plobj)
|
void |
entryAdded(TudeySceneModel.Entry entry)
Notes that an entry has been added to the scene. |
void |
entryRemoved(TudeySceneModel.Entry oentry)
Notes that an entry has been removed from the scene. |
void |
entryUpdated(TudeySceneModel.Entry oentry,
TudeySceneModel.Entry nentry)
Notes that an entry has been updated within the scene. |
void |
render(float sx,
float sy,
float swidth,
float sheight,
int tx,
int ty,
int twidth,
int theight,
float alpha,
Image mask)
Renders a section of the map. |
void |
setColors(Color4f floor,
Color4f wall)
Sets the colors to use to represent floors and walls. |
void |
willEnterPlace(com.threerings.crowd.data.PlaceObject plobj)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SceneMap(TudeyContext ctx,
TudeySceneView view)
| Method Detail |
|---|
public void setColors(Color4f floor,
Color4f wall)
public void render(float sx,
float sy,
float swidth,
float sheight,
int tx,
int ty,
int twidth,
int theight,
float alpha,
Image mask)
public void willEnterPlace(com.threerings.crowd.data.PlaceObject plobj)
willEnterPlace in interface com.threerings.crowd.client.PlaceViewpublic void didLeavePlace(com.threerings.crowd.data.PlaceObject plobj)
didLeavePlace in interface com.threerings.crowd.client.PlaceViewpublic void entryAdded(TudeySceneModel.Entry entry)
TudeySceneModel.Observer
entryAdded in interface TudeySceneModel.Observer
public void entryUpdated(TudeySceneModel.Entry oentry,
TudeySceneModel.Entry nentry)
TudeySceneModel.Observer
entryUpdated in interface TudeySceneModel.Observerpublic void entryRemoved(TudeySceneModel.Entry oentry)
TudeySceneModel.Observer
entryRemoved in interface TudeySceneModel.Observer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||