runescape-client: export more

This commit is contained in:
Adam
2017-06-14 19:36:07 -04:00
parent c874240306
commit 7393b9715e
3 changed files with 10 additions and 10 deletions

View File

@@ -148,14 +148,14 @@ public class Client
return client.getCameraYaw();
}
public int getCamera2()
public int getViewportHeight()
{
return client.getCamera2();
return client.getViewportHeight();
}
public int getCamera3()
public int getViewportWidth()
{
return client.getCamera3();
return client.getViewportWidth();
}
public int getScale()

View File

@@ -102,8 +102,8 @@ public class Perspective
if (y >= 50)
{
int pointX = client.getCamera2() / 2 + x * client.getScale() / y;
int pointY = var8 * client.getScale() / y + client.getCamera3() / 2;
int pointX = client.getViewportHeight() / 2 + x * client.getScale() / y;
int pointY = var8 * client.getScale() / y + client.getViewportWidth() / 2;
return new Point(pointX, pointY);
}
}

View File

@@ -172,11 +172,11 @@ public interface Client extends GameEngine
@Import("scale")
int getScale();
@Import("camera2")
int getCamera2();
@Import("viewportHeight")
int getViewportHeight();
@Import("camera3")
int getCamera3();
@Import("viewportWidth")
int getViewportWidth();
@Import("validInterfaces")
boolean[] getValidInterfaces();