public void render(Graphics g){
        if(collided){
            // run animation for its entire duration
            anim.drawAnimation(g, x, y, 0);
            animCount++;
            if(img_player.length + 1 == animCount/animLength){
                // Stop animation
                collided = false;
                animCount = 0;
            }
        }
        else{
            // draw static image
            g.drawImage(ss.grabImage(1, 1, 14, 75 ), (int)x, (int)y, null);
        }
        //Graphics2D g2d = (Graphics2D) g;
        //g2d.setColor(Color.green);
        //g2d.draw(this.getBounds());
    }