public void move(){
		if(getDirection() == Moveable.RIGHT)
			setX(getX() + speed);
		else if(getDirection() == Moveable.LEFT)
			setX(getX() - speed);
		else if(getDirection() == Moveable.UP)
			setY(getY() - speed);
		else if(getDirection() == Moveable.DOWN)
			setY(getY() + speed);
		
		if(getX() <= 0)
			setDirection(Moveable.RIGHT);
		else if(getY() <= 0)
			setDirection(Moveable.DOWN);
		else if(getY() + getHeight() >= Board.HEIGHT)
			setDirection(Moveable.UP);
		else if(getX() + getWidth() >= Board.WIDTH)
			setDirection(Moveable.LEFT);
	}