public void move(){
        
        if((this.x<-40)||(this.x>Board.getWIDTH()+40)||(this.y<-40)||(this.y>Board.getHEIGHT()+40)){
            this.setVisible(false);
        }
        
        switch(inici.get(3)){
            
            case 0:
                this.setX(this.x + 1 * Math.sin(Math.toRadians(this.inici.get(2))));
                this.setY(this.y - 1 * Math.cos(Math.toRadians(this.inici.get(2))));
                break;
  
            case 1:
                this.setX(this.x - 1 * Math.sin(Math.toRadians(this.inici.get(2)))*-1);
                this.setY(this.y - 1 * Math.cos(Math.toRadians(this.inici.get(2))));
                break;
                
            case 2:
                this.setX(this.x + 1 * Math.sin(Math.toRadians(this.inici.get(2))));
                this.setY(this.y - 1 * Math.cos(Math.toRadians(this.inici.get(2)*-1)));
                break;
                  
            case 3:
                this.setX(this.x - 1 * Math.sin(Math.toRadians(this.inici.get(2)))*-1);
                this.setY(this.y - 1 * Math.cos(Math.toRadians(this.inici.get(2))));
                break;
                       
        }         
    }