espresso3d.engine.world.sector.base
Class E3DPortalEnabledRenderableItem

java.lang.Object
  extended byespresso3d.engine.base.E3DEngineItem
      extended byespresso3d.engine.renderer.base.E3DRenderable
          extended byespresso3d.engine.world.sector.base.E3DPortalEnabledRenderableItem
Direct Known Subclasses:
E3DActor, E3DLight, E3DParticleSystem

public abstract class E3DPortalEnabledRenderableItem
extends E3DRenderable

Author:
cmoxley For any class to support movement through portals automatically, they must extend this class or E3DPortalEnabledTexturedRenderableItem This is completely useless to a user outside of the engine because this file needs to have its user objects defined in it to allow the object to switch sectors automatically.

Constructor Summary
E3DPortalEnabledRenderableItem(E3DEngine engine)
           
 
Method Summary
 void checkSectorChangeDuringMovement(E3DVector3F startPos, E3DVector3F endPos)
           
 E3DSector getSector()
           
 void setSector(E3DSector sector)
           
 
Methods inherited from class espresso3d.engine.renderer.base.E3DRenderable
render, renderAtPosition
 
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

E3DPortalEnabledRenderableItem

public E3DPortalEnabledRenderableItem(E3DEngine engine)
Method Detail

getSector

public E3DSector getSector()

setSector

public void setSector(E3DSector sector)

checkSectorChangeDuringMovement

public void checkSectorChangeDuringMovement(E3DVector3F startPos,
                                            E3DVector3F endPos)