apps.networkedthreedpuzzle
Class SpatialAttributes

java.lang.Object
  extended by apps.networkedthreedpuzzle.SpatialAttributes
All Implemented Interfaces:
java.io.Serializable

public class SpatialAttributes
extends java.lang.Object
implements java.io.Serializable

The Class SpatialAttributes.

See Also:
Serialized Form

Constructor Summary
SpatialAttributes(java.lang.String spatialName, java.lang.String type, com.jme.math.Vector3f position, com.jme.math.Quaternion rotation)
          Instantiates a new spatial attributes.
 
Method Summary
 com.jme.math.Vector3f getPosition()
          Gets the position.
 com.jme.math.Quaternion getRotation()
          Gets the rotation.
 java.lang.String getSpatialName()
          Gets the spatial name.
 java.lang.String getType()
          Gets the type.
 void setPosition(com.jme.math.Vector3f position)
          Sets the position.
 void setRotation(com.jme.math.Quaternion rotation)
          Sets the rotation.
 void setSpatialName(java.lang.String spatialName)
          Sets the spatial name.
 void setType(java.lang.String type)
          Sets the type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpatialAttributes

public SpatialAttributes(java.lang.String spatialName,
                         java.lang.String type,
                         com.jme.math.Vector3f position,
                         com.jme.math.Quaternion rotation)
Instantiates a new spatial attributes.

Parameters:
spatialName - the spatial name
type - the type
position - the position
rotation - the rotation
Method Detail

getPosition

public com.jme.math.Vector3f getPosition()
Gets the position.

Returns:
the position

getRotation

public com.jme.math.Quaternion getRotation()
Gets the rotation.

Returns:
the rotation

getSpatialName

public java.lang.String getSpatialName()
Gets the spatial name.

Returns:
the spatial name

getType

public java.lang.String getType()
Gets the type.

Returns:
the type

setPosition

public void setPosition(com.jme.math.Vector3f position)
Sets the position.

Parameters:
position - the new position

setRotation

public void setRotation(com.jme.math.Quaternion rotation)
Sets the rotation.

Parameters:
rotation - the new rotation

setSpatialName

public void setSpatialName(java.lang.String spatialName)
Sets the spatial name.

Parameters:
spatialName - the new spatial name

setType

public void setType(java.lang.String type)
Sets the type.

Parameters:
type - the new type