Add camera setters to Client.java and RSClient.java.
This commit is contained in:
@@ -1444,4 +1444,39 @@ public interface Client extends GameEngine
|
|||||||
* @param world target world to hop to
|
* @param world target world to hop to
|
||||||
*/
|
*/
|
||||||
void hopToWorld(World world);
|
void hopToWorld(World world);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the x-axis coordinate of the camera.
|
||||||
|
*
|
||||||
|
* @param cameraX the new camera x-value.
|
||||||
|
*/
|
||||||
|
void setCameraX(int cameraX);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the y-axis coordinate of the camera.
|
||||||
|
*
|
||||||
|
* @param cameraY the new camera y-value.
|
||||||
|
*/
|
||||||
|
void setCameraY(int cameraY);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the z-axis coordinate of the camera.
|
||||||
|
*
|
||||||
|
* @param cameraZ the new camera z-value.
|
||||||
|
*/
|
||||||
|
void setCameraZ(int cameraZ);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the pitch of the camera.
|
||||||
|
*
|
||||||
|
* @param cameraPitch the new camera pitch.
|
||||||
|
*/
|
||||||
|
void setCameraPitch(int cameraPitch);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the yaw of the camera.
|
||||||
|
*
|
||||||
|
* @param cameraYaw the new camera yaw.
|
||||||
|
*/
|
||||||
|
void setCameraYaw(int cameraYaw);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,14 +40,26 @@ public interface RSClient extends RSGameEngine, Client
|
|||||||
@Override
|
@Override
|
||||||
int getCameraX();
|
int getCameraX();
|
||||||
|
|
||||||
|
@Import("cameraX")
|
||||||
|
@Override
|
||||||
|
void setCameraX(int cameraX);
|
||||||
|
|
||||||
@Import("cameraY")
|
@Import("cameraY")
|
||||||
@Override
|
@Override
|
||||||
int getCameraY();
|
int getCameraY();
|
||||||
|
|
||||||
|
@Import("cameraY")
|
||||||
|
@Override
|
||||||
|
void setCameraY(int cameraY);
|
||||||
|
|
||||||
@Import("cameraZ")
|
@Import("cameraZ")
|
||||||
@Override
|
@Override
|
||||||
int getCameraZ();
|
int getCameraZ();
|
||||||
|
|
||||||
|
@Import("cameraZ")
|
||||||
|
@Override
|
||||||
|
void setCameraZ(int cameraZ);
|
||||||
|
|
||||||
@Import("plane")
|
@Import("plane")
|
||||||
@Override
|
@Override
|
||||||
int getPlane();
|
int getPlane();
|
||||||
@@ -57,12 +69,17 @@ public interface RSClient extends RSGameEngine, Client
|
|||||||
int getCameraPitch();
|
int getCameraPitch();
|
||||||
|
|
||||||
@Import("cameraPitch")
|
@Import("cameraPitch")
|
||||||
|
@Override
|
||||||
void setCameraPitch(int cameraPitch);
|
void setCameraPitch(int cameraPitch);
|
||||||
|
|
||||||
@Import("cameraYaw")
|
@Import("cameraYaw")
|
||||||
@Override
|
@Override
|
||||||
int getCameraYaw();
|
int getCameraYaw();
|
||||||
|
|
||||||
|
@Import("cameraYaw")
|
||||||
|
@Override
|
||||||
|
void setCameraYaw(int cameraYaw);
|
||||||
|
|
||||||
@Import("world")
|
@Import("world")
|
||||||
int getWorld();
|
int getWorld();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user