Add getters for pointer coordinate
This commit is contained in:
parent
23656f3dcc
commit
ef7e708401
@ -27,6 +27,14 @@ public class Pointer {
|
||||
}
|
||||
}
|
||||
|
||||
public float getX() {
|
||||
return x;
|
||||
}
|
||||
|
||||
public float getY() {
|
||||
return y;
|
||||
}
|
||||
|
||||
public void setScreenParameters(float width, float height) {
|
||||
screenWidth = width;
|
||||
screenHeight = height;
|
||||
|
Loading…
Reference in New Issue
Block a user