apps.threedpuzzle.tetrisfactory
Interface TetrisCollection.ObjectRotateTranslateScaleListener
- Enclosing class:
- TetrisCollection
public static interface TetrisCollection.ObjectRotateTranslateScaleListener
The listener interface for receiving objectRotateTranslateScale events.
The class that is interested in processing a objectRotateTranslateScale
event implements this interface, and the object created with that class
is registered with a component using the component's
addObjectRotateTranslateScaleListener method. When
the objectRotateTranslateScale event occurs, that object's appropriate
method is invoked.
- See Also:
ObjectRotateTranslateScaleEvent
Method Summary |
void |
itemMoved(com.jme.scene.Spatial targetSpatial,
float newLocationX,
float newLocationY,
float newLocationZ)
Item moved. |
void |
itemRotated(com.jme.scene.Spatial targetSpatial,
com.jme.math.Quaternion quaternion)
Item rotated. |
itemMoved
void itemMoved(com.jme.scene.Spatial targetSpatial,
float newLocationX,
float newLocationY,
float newLocationZ)
- Item moved.
- Parameters:
targetSpatial
- the target spatialnewLocationX
- the new location xnewLocationY
- the new location ynewLocationZ
- the new location z
itemRotated
void itemRotated(com.jme.scene.Spatial targetSpatial,
com.jme.math.Quaternion quaternion)
- Item rotated.
- Parameters:
targetSpatial
- the target spatialquaternion
- the quaternion