@Override
	public void draw(Graphics g) {
		if(x != desiredX || y != desiredY){
			if(Math.sqrt(Math.pow(desiredX, 2) + Math.pow(desiredY, 2)) < 2*pixelDelta){
				x = desiredX;
				y = desiredY;
			} else {
				if(x > desiredX) x -= pixelDelta;
				if(x < desiredX) x += pixelDelta;
			 	if(y > desiredY) y -= pixelDelta;
				if(y < desiredY) y += pixelDelta;
			}
		}
		ImageCache.getImage("starship.gif").draw(x, y);
		g.setColor(owner.getColor());
		g.drawString("[" + size + "]", x + 30, y + 10);
	}