|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectunc.cdva.utils.TaggedObject
unc.cdva.interactiveitems.InteractiveItem
public class InteractiveItem
Super class for items that change on screen (ie: they have animations)
Field Summary | |
---|---|
protected javax.vecmath.Vector3f |
direction
Vector representing the direction of the item. |
protected javax.vecmath.Vector3f |
position
Vector representing the position of the item. |
protected javax.vecmath.Vector3f |
scaling
Vector repesenting how to scale the item. |
Constructor Summary | |
---|---|
InteractiveItem()
Default constructor for interactive item, initializes the interactive item with default position/direction/scale values, does not initialize the state of the item. |
Method Summary | |
---|---|
javax.vecmath.Vector3f |
getDirection()
|
PdsBean |
getPdsBean()
|
javax.vecmath.Vector3f |
getPosition()
|
javax.vecmath.Vector3f |
getScaling()
|
int |
getState()
|
void |
setDirection(javax.vecmath.Vector3f direction)
|
void |
setPds(PdsBean pds)
SetPds - sets the position, direction, and scaling of the gun. |
void |
setPosition(javax.vecmath.Vector3f position)
|
void |
setScaling(javax.vecmath.Vector3f scaling)
|
protected void |
setState(int state)
|
Methods inherited from class unc.cdva.utils.TaggedObject |
---|
createId, equals, getId, hashCode, setId, setId |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.vecmath.Vector3f position
protected javax.vecmath.Vector3f direction
protected javax.vecmath.Vector3f scaling
Constructor Detail |
---|
public InteractiveItem()
Method Detail |
---|
public PdsBean getPdsBean()
public javax.vecmath.Vector3f getDirection()
public javax.vecmath.Vector3f getPosition()
public javax.vecmath.Vector3f getScaling()
public int getState()
public void setDirection(javax.vecmath.Vector3f direction)
direction
- The direction to set.public void setPosition(javax.vecmath.Vector3f position)
position
- The position to set.public void setScaling(javax.vecmath.Vector3f scaling)
scaling
- The scaling to set.public void setPds(PdsBean pds)
pds
- A bean containing the pds data.protected void setState(int state)
state
- The state to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |