|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectespresso3d.engine.base.E3DEngineItem
espresso3d.engine.renderer.base.E3DRenderable
espresso3d.engine.world.sector.E3DSector
| Constructor Summary | |
E3DSector(E3DEngine engine,
java.lang.String sectorID)
|
|
| Method Summary | |
void |
addActor(E3DActor actor)
Add an actor to this sector |
void |
addLight(E3DLight light)
|
void |
addTriangle(E3DTriangle triangle)
Add a triangle to the geometry of the sector This is handled by map loading, but triangles can be added programatically as well. |
E3DActor |
getActorByID(java.lang.String actorID)
Get an actor in this sector by its ID |
java.util.HashMap |
getActorMap()
|
java.util.HashMap |
getLightMap()
|
java.lang.String |
getSectorID()
|
java.util.HashMap |
getTextureSortedTriangleList()
|
java.util.ArrayList |
getTriangleList()
|
E3DWorld |
getWorld()
|
boolean |
isNeedingLightRecalc()
This is true if a light has moved and we need to recalculate the lighting |
void |
removeActor(java.lang.String actorID)
Remove an actor with actorID from this sector |
void |
renderAtPosition(E3DVector3F atPosition)
This renders the sector geometry and actors in the sector atPosition This is handled by the engine's rendering loop |
void |
setActorMap(java.util.HashMap actorMap)
|
void |
setLightMap(java.util.HashMap lightMap)
|
void |
setNeedingLightRecalc(boolean needingLightRecalc)
|
void |
setTextureSortedTriangleList(java.util.HashMap textureSortedTriangleList)
|
void |
setWorld(E3DWorld world)
|
| Methods inherited from class espresso3d.engine.renderer.base.E3DRenderable |
render |
| Methods inherited from class espresso3d.engine.base.E3DEngineItem |
getEngine, setEngine |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public E3DSector(E3DEngine engine,
java.lang.String sectorID)
| Method Detail |
public void addTriangle(E3DTriangle triangle)
triangle - public java.lang.String getSectorID()
public java.util.ArrayList getTriangleList()
public void renderAtPosition(E3DVector3F atPosition)
renderAtPosition in class E3DRenderablepublic java.util.HashMap getTextureSortedTriangleList()
public void setTextureSortedTriangleList(java.util.HashMap textureSortedTriangleList)
textureSortedTriangleList - The textureSortedTriangleList to set.public java.util.HashMap getLightMap()
public void setLightMap(java.util.HashMap lightMap)
public void addLight(E3DLight light)
public java.util.HashMap getActorMap()
public void setActorMap(java.util.HashMap actorMap)
actorMap - The actorMap to set.public void addActor(E3DActor actor)
actor - public E3DActor getActorByID(java.lang.String actorID)
actorID -
public void removeActor(java.lang.String actorID)
actorID - public E3DWorld getWorld()
public void setWorld(E3DWorld world)
world - The world to set.public boolean isNeedingLightRecalc()
public void setNeedingLightRecalc(boolean needingLightRecalc)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||