Wow, that's just amasing :) exactly what I have planed :D


public void setLocation(double x, double y) { exactX = x; exactY = y; super.setLocation((int) (x + 0.5), (int) (y + 0.5)); } /** * Set the location using integer coordinates. * (Overrides the method in Actor.) */ @Override public void setLocation(int x, int y) { exactX = x; exactY = y; super.setLocation(x, y); }