public void move() 
	{
		
	    xPosition +=  0.01*this.direction[0];
	    yPosition +=  0.01*this.direction[1];
	    
	    if(xPosition > this.space.getWidth() || yPosition > this.space.getHeight())
	    {
	    	this.setVisible(false);
	    }
	    
	   // if (x > this.space.getWidth())
	        //visible = false;
	}