public Ovni() {
//        super((Math.random()*Board.getWIDTH()+1), (Math.random()*Board.getHEIGHT()+1), 0.0f);
            
            super(0, 0,0.0f);
            this.x = (double) inici.get(0);
            this.y = (double) inici.get(1);
            switch(Board.getTheme()){
            
            case "Desert": 
                
                explosionAnimImgUrl1 = this.getClass().getResource("/resources/images/ovnis/plane.png");
                explosionAnimImgUrl2 = this.getClass().getResource("/resources/images/ovnis/planeo.png");
                this.numberOfFrames = 1;
               
                this.frameWidth = 84;
                this.frameHeight = 84;
                
                try {
                    animImageR = ImageIO.read(explosionAnimImgUrl1);
                    animImageO = ImageIO.read(explosionAnimImgUrl2);
                } catch (IOException ex) {
                    Logger.getLogger(Ovni.class.getName()).log(Level.SEVERE, null, ex);
                }
          
                break;
                
            case "Forest": 
                
                explosionAnimImgUrl1 = this.getClass().getResource("/resources/images/ovnis/plane.png");
                explosionAnimImgUrl2 = this.getClass().getResource("/resources/images/ovnis/planeo.png");
                this.numberOfFrames = 1;
                
                this.frameWidth = 84;
                this.frameHeight = 84;
                
                try {
                    animImageR = ImageIO.read(explosionAnimImgUrl1);
                    animImageO = ImageIO.read(explosionAnimImgUrl2);
                } catch (IOException ex) {
                    Logger.getLogger(Ovni.class.getName()).log(Level.SEVERE, null, ex);
                }
                
                break;
            
            case "Spacial": 
                
                explosionAnimImgUrl1 = this.getClass().getResource("/resources/images/ovnis/ovni.png");
                explosionAnimImgUrl2 = this.getClass().getResource("/resources/images/ovnis/ovniombra.png");
                this.numberOfFrames = 6;
                
                this.frameWidth = 84;
                this.frameHeight = 84;
                
                
                try {
                    animImageR = ImageIO.read(explosionAnimImgUrl1);
                    animImageO = ImageIO.read(explosionAnimImgUrl2);
                } catch (IOException ex) {
                    Logger.getLogger(Ovni.class.getName()).log(Level.SEVERE, null, ex);
                }
                
                break;
            
            case "Sea": 
                
                explosionAnimImgUrl1 = this.getClass().getResource("/resources/images/ovnis/gavina.png");
                explosionAnimImgUrl2 = this.getClass().getResource("/resources/images/ovnis/gavinaombra.png");
                this.numberOfFrames = 4;
                
                this.frameWidth=32;
                this.frameHeight=32;
                
                
                try {
                    animImageR = ImageIO.read(explosionAnimImgUrl1);
                    animImageO = ImageIO.read(explosionAnimImgUrl2);
                } catch (IOException ex) {
                    Logger.getLogger(Ovni.class.getName()).log(Level.SEVERE, null, ex);
                }
                
                break;
                        
            default: 
                
                explosionAnimImgUrl1 = this.getClass().getResource("/resources/images/ovnis/ovni.png");
                explosionAnimImgUrl2 = this.getClass().getResource("/resources/images/ovnis/ovniombra.png");
                this.numberOfFrames = 6;
                this.frameWidth = 84;
                this.frameHeight = 84;
          
                try {
                    animImageR = ImageIO.read(explosionAnimImgUrl1);
                    animImageO = ImageIO.read(explosionAnimImgUrl2);
                } catch (IOException ex) {
                    Logger.getLogger(Ovni.class.getName()).log(Level.SEVERE, null, ex);
                }
                
                break;                  
            
        }
            
        this.loop = true;
        this.active = true;
        this.degrees = Math.random()*360 + 1;
        timeOfAnimationCration = System.currentTimeMillis();
        startingXOfFrameInImage = 0;
        endingXOfFrameInImage = frameWidth;

        startingFrameTime = System.currentTimeMillis() + showDelay;
        this.frameTime = 100;
        timeForNextFrame = startingFrameTime + this.frameTime;
        currentFrameNumber = 0;
        active = true;
       
        this.showDelay = 0;
    }