private void moveWidget(int timeDelta) { final Point currentPosition = new Point(widget.getPosition()); if (currentPosition.equals(endPosition)) { // end reached remove actor. unHook(widget); } else { // move widget // todo: make framerate independent // use time as base to calc movement speed. So someone will tell // that it // should take 1sec from A to B. More space between A and B means // faster movement. translate(currentPosition, endPosition, movementSpeed); widget.setPosition(currentPosition); } }