Ejemplo n.º 1
0
    public override DatabaseEntry Copy()
    {
        CutScene cs = new CutScene(key);

        cs.mapID     = mapID;
        cs.mapname   = mapname;
        cs.bgm_Music = bgm_Music;

        CutSceneAction[] temp = actions.ToArray();

        foreach (CutSceneAction csa in temp)
        {
            cs.AddAction((CutSceneAction)csa.Copy());
        }


        foreach (string data in actorIDMap.Keys)
        {
            cs.actorIDMap.Add(data, actorIDMap[data]);
        }

        return(cs);
    }