Can I move only 0.5 pixels, so that my Actor only will move one pixel every two acts or do I have to implement a timer therefore?
I mean something like this:
move(0.5);


1 2 3 4 5 6 7 8 9 | protected double exactX; protected double exactY; @Override public void setLocation( double exactX, double exactY) { this .exactX = exactX; this .exactY = exactY; super .setLocation(( int ) exactX, ( int ) exactY); } |