Exemplo n.º 1
0
    static void Mouth_Anim_Command(string[] param)
    {
        string animation_name = param[0];

        string[] sprite_names = new string[param.Length - 1];
        int      j            = 1;

        for (int i = 0; i < sprite_names.Length; i++)
        {
            sprite_names[i] = param[j];
            j++;
        }
        CharacterAnimations.CreateMouthAnimation(animation_name);
        CharacterAnimations.AssignMouthAnimation(animation_name, sprite_names);
    }