espresso3d.engine.world.sector.actor
Class E3DCameraActor

java.lang.Object
  extended byespresso3d.engine.base.E3DEngineItem
      extended byespresso3d.engine.renderer.base.E3DRenderable
          extended byespresso3d.engine.world.sector.actor.E3DActor
              extended byespresso3d.engine.world.sector.actor.E3DCameraActor
All Implemented Interfaces:
E3DCollisionResponseCallback

public class E3DCameraActor
extends E3DActor

Author:
Curt This is a basic actor with no polygons. Useful for setting a viewport camera

Constructor Summary
E3DCameraActor(E3DCameraActor toCopyActor)
           
E3DCameraActor(E3DEngine engine, E3DWorld world, java.lang.String actorID)
           
 
Method Summary
 void onCollision(E3DCollision collision)
          This gets called when this actor collides with something (collider or collidee.
 E3DActor onGetClone()
          This method must be overriden to return a clone of the actor.
 
Methods inherited from class espresso3d.engine.world.sector.actor.E3DActor
addTriangle, getActorID, getBoundingObject, getForwardVec, getLeftVec, getPositionVec, getSector, getTextureSortedTriangleList, getTriangleList, getUniqueVertexList, getUpVec, getWorld, isActorLit, isDisplayMesh, isNeedingLightRecalc, loadActor, moveForward, renderAtPosition, rotate, rotate, rotateTriangles, scale, setActorID, setActorLit, setBoundingObject, setDisplayMesh, setNeedingLightRecalc, setPositionVec, setSector, setTextureSortedTriangleList, setWorld, translate
 
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

E3DCameraActor

public E3DCameraActor(E3DEngine engine,
                      E3DWorld world,
                      java.lang.String actorID)

E3DCameraActor

public E3DCameraActor(E3DCameraActor toCopyActor)
Method Detail

onCollision

public void onCollision(E3DCollision collision)
Description copied from class: E3DActor
This gets called when this actor collides with something (collider or collidee. We don't know what to do with a collision here, but anything extending this should

Specified by:
onCollision in interface E3DCollisionResponseCallback
Specified by:
onCollision in class E3DActor

onGetClone

public E3DActor onGetClone()
                    throws java.lang.Exception
Description copied from class: E3DActor
This method must be overriden to return a clone of the actor. This normally gets called when a specific actor in the preloadedActorMap of the world is specified in a world's map that is getting loaded What it wants is a clone of the preloaded actor returned (CLONE, not ref to the same object!). This is exposed to you so you can modify the actor if necessary when cloning it.

Specified by:
onGetClone in class E3DActor
Throws:
java.lang.Exception