private ArrayList caclPosIni(){
        
        ArrayList<Integer> pos = new ArrayList();
//        int canto = 2;
        int t;
        
        int canto = (int) (Math.random()*4);
              
        switch (canto){
            
            case 0:
                t = (int) (Math.random()*Board.getWIDTH());   
                pos.add(t);
                pos.add(-20);
                this.angle = (Math.random()*(90-0)-45);
                pos.add(180-(int)this.angle);
                pos.add(canto);
                
                break;
                
            case 1:
                //180
                t = (int) (Math.random()*Board.getHEIGHT());   
                pos.add(Board.getWIDTH()+20);
                pos.add(t);
                this.angle = (Math.random()*(90-0)-45);
                pos.add(270-(int)this.angle);
                pos.add(canto);
                
                break;
                
            case 2:
                t = (int) (Math.random()*Board.getWIDTH());   
                pos.add(t);
                pos.add(Board.getHEIGHT()+20);
                this.angle = (Math.random()*(90-0)-45);
                pos.add(360-(int)this.angle);
                pos.add(canto);
                break;
                
            case 3:
                
                t = (int) (Math.random()*Board.getHEIGHT());   
                pos.add(-20);
                pos.add(t);
                this.angle = (Math.random()*(90-0)-45);
                pos.add(90-(int)this.angle);
                pos.add(canto);
                
                break;
        }
       return pos; 
    }