public Image getImage(){
        switch(anim){
            case 0: return image1;
            case 1: return image2;
            case 2: return image3;
            default: return image4;
        }               
    }