public void rewalking()
    {
        sprite++;
         if (sprite <= MS_SPD)
        {   
            character = leftchica1.getImage();
            sprite++;
        }
        else if (sprite > MS_SPD + 30 && sprite < MS_SPD + 60)
        {
            character = leftchica2.getImage();
            sprite++;
        }
        else if (sprite > MS_SPD + 90 && sprite < MS_SPD + 120)
        {
            character = leftchica3.getImage();
            sprite++;
        }
        else if (sprite > MS_SPD + 150 && sprite < MS_SPD + 200)
        {
            character = leftchica4.getImage();
            sprite++;
        }
        if (sprite > MS_SPD + 201)
        {
            sprite=0;
        }
    }