public void setPositionEntity(boolean cartesien, int XOrAngle, int YOrRadius)
    {
    	if(cartesien){
    		this.setPosition(XOrAngle, YOrRadius);
    		this.radius = (int) Math.sqrt(Math.pow(XOrAngle, 2) + Math.pow(YOrRadius, 2));
    		if(radius>0){
    			angle = (int) Math.atan(YOrRadius/XOrAngle);
    		}else if(radius<0){
    			angle = (int) (Math.atan(YOrRadius/XOrAngle)+Math.PI);
    		}
    	}
    	else
    	{
    		this.angle = XOrAngle;
    		this.radius = YOrRadius;Player P=Player.getInstance();
            float Px=350;
            float Py=350;
            this.setPosition((int)(Px+radius * Math.cos(Math.toRadians(angle))),
                    (int)(Py+radius * Math.sin(Math.toRadians(angle))));

        }
    }