Added accessors for the position components.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1107 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Andrzej Kapolka
2011-01-05 23:04:36 +00:00
parent c612491d16
commit 7ed7e5ad7d
@@ -41,6 +41,30 @@ public class Listener
}
}
/**
* Returns the x component of the listener's position.
*/
public float getPositionX ()
{
return _px;
}
/**
* Returns the y component of the listener's position.
*/
public float getPositionY ()
{
return _py;
}
/**
* Returns the z component of the listener's position.
*/
public float getPositionZ ()
{
return _pz;
}
/**
* Sets the velocity of the listener.
*/