com.vwp.vuapi.event
Interface VUPositionListener
- All Superinterfaces:
- java.util.EventListener, VUUserListener
public interface VUPositionListener
- extends VUUserListener
This class can be used to create a object that watches which
changes appear related to users and to see to which positions
they are moving to
|
Method Summary |
void |
userPositionChanged(VUUserInfo ui,
double x,
double y,
double z,
float angleX,
float angleY,
float angleZ)
This method is called every time somebody changed its position
in the world currently logged into |
userPositionChanged
void userPositionChanged(VUUserInfo ui,
double x,
double y,
double z,
float angleX,
float angleY,
float angleZ)
- This method is called every time somebody changed its position
in the world currently logged into
- Parameters:
ui - a VUUserInfo object that contains information of
the user that changed his positionx - the current X position of the user that movedy - the current Y position of the user that movedz - the current Z position of the user that movedangleX - unusedangleY - the current orientation of the user that movedangleZ - unused
ToDo: decouple this method call so that a blocking user handling doesn't
blocks the complete data flow of the API