public interface SpotScene
| Modifier and Type | Method and Description |
|---|---|
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.
|
Portal getPortal(int portalId)
Portal object for the portal with the specified id or null if no portal
exists with that id.int getPortalCount()
short getNextPortalId()
Portal getDefaultEntrance()
void addPortal(Portal portal)
getNextPortalId().void removePortal(Portal portal)
void setDefaultEntrance(Portal portal)
Copyright © 2015. All rights reserved.