Merge pull request #5535 from Abextm/revert-useless-setters
Revert "Add camera setters to Client.java and RSClient.java."
This commit is contained in:
@@ -1479,39 +1479,4 @@ public interface Client extends GameEngine
|
||||
* @param world target world to hop to
|
||||
*/
|
||||
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,26 +40,14 @@ public interface RSClient extends RSGameEngine, Client
|
||||
@Override
|
||||
int getCameraX();
|
||||
|
||||
@Import("cameraX")
|
||||
@Override
|
||||
void setCameraX(int cameraX);
|
||||
|
||||
@Import("cameraY")
|
||||
@Override
|
||||
int getCameraY();
|
||||
|
||||
@Import("cameraY")
|
||||
@Override
|
||||
void setCameraY(int cameraY);
|
||||
|
||||
@Import("cameraZ")
|
||||
@Override
|
||||
int getCameraZ();
|
||||
|
||||
@Import("cameraZ")
|
||||
@Override
|
||||
void setCameraZ(int cameraZ);
|
||||
|
||||
@Import("plane")
|
||||
@Override
|
||||
int getPlane();
|
||||
@@ -69,17 +57,12 @@ public interface RSClient extends RSGameEngine, Client
|
||||
int getCameraPitch();
|
||||
|
||||
@Import("cameraPitch")
|
||||
@Override
|
||||
void setCameraPitch(int cameraPitch);
|
||||
|
||||
@Import("cameraYaw")
|
||||
@Override
|
||||
int getCameraYaw();
|
||||
|
||||
@Import("cameraYaw")
|
||||
@Override
|
||||
void setCameraYaw(int cameraYaw);
|
||||
|
||||
@Import("world")
|
||||
int getWorld();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user