|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SpotScene
Makes available the spot scene information that the server needs to do its business.
| Method Summary | |
|---|---|
void |
addPortal(Portal portal)
Adds a portal to this scene, immediately making the requisite modifications to the underlying scene model. |
Portal |
getDefaultEntrance()
Returns the portal that represents the default entrance to this scene. |
short |
getNextPortalId()
Returns the portal id that should be assigned to the next portal added to this scene. |
Portal |
getPortal(int portalId)
Returns a Portal object for the portal with the specified id or null if no portal
exists with that id. |
int |
getPortalCount()
Returns the number of portals in this scene. |
Iterator<Portal> |
getPortals()
Returns an iterator over the portals in this scene. |
void |
removePortal(Portal portal)
Removes the specified portal from the scene. |
void |
setDefaultEntrance(Portal portal)
Sets the default entrance in this scene, immediately making the requisite modifications to the underlying scene model. |
| Method Detail |
|---|
Portal getPortal(int portalId)
Portal object for the portal with the specified id or null if no portal
exists with that id.
int getPortalCount()
Iterator<Portal> getPortals()
short getNextPortalId()
Portal getDefaultEntrance()
void addPortal(Portal portal)
getNextPortalId().
void removePortal(Portal portal)
void setDefaultEntrance(Portal portal)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||