I'm trying to make a Space Invaders scenario and I'm having trouble getting the user's ship to fire bullets in the right direction. How do you change the Y value of an actor and not change the X value of an actor at the same time?
setLocation(getX(),<y>);
this.setLocation(this.getX(), this.getY()-10);