MrSkyPanda wrote...
do you think you could share a simple example?int y = getY(); // for instance of enclosing class // or equivalently int y = this.getY();
int groundY = ground.getY();
int y = getY(); // for instance of enclosing class // or equivalently int y = this.getY();
int groundY = ground.getY();