public void setRotationZ (float angle) {
rotation.set(Vector3.Z, angle);
updated = false;
}
public void rotateZ (float angle) {
rotator.set(Vector3.Z, angle);
rotation.mul(rotator);
updated = false;
}
interface A{ int getX(); }
class B implements A {
private int x;
int getX(){return x;}
void setX(int v){x = v;}
}