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


Field Summary
 
Fields inherited from interface com.vwp.vuapi.event.VUUserListener
VU_USER_CHANGE_ENTER, VU_USER_CHANGE_LEAVE, VU_USER_CHANGE_MODIFY
 
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
 
Methods inherited from interface com.vwp.vuapi.event.VUUserListener
userChanged
 

Method Detail

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 position
x - the current X position of the user that moved
y - the current Y position of the user that moved
z - the current Z position of the user that moved
angleX - unused
angleY - the current orientation of the user that moved
angleZ - unused ToDo: decouple this method call so that a blocking user handling doesn't blocks the complete data flow of the API