}
});
this.world.addMouseMotionListener(new MouseMotionListener() {
public void mouseDragged(MouseEvent e) {
setMouseTarget(new Point2d(e.getX(), e.getY()));
}
public void mouseMoved(MouseEvent e) {
setMouseTarget(new Point2d(e.getX(), e.getY()));
}
});
this.world.addMouseListener(new MouseListener() {
public void mouseClicked(MouseEvent e) {
//
}
public void mouseEntered(MouseEvent e) {
setMouseTarget(new Point2d(e.getX(), e.getY()));
}
public void mouseExited(MouseEvent e) {
setMouseTarget(null);
}
public void mousePressed(MouseEvent e) {