示例#1
0
 public ProppStoryData(ProppStoryData data)
 {
     interdiction = data.interdiction;
     villainy     = data.villainy;
     functions    = data.functions;
     characters   = data.characters;
     locations    = data.locations;
 }
示例#2
0
 public ProppStoryData(ProppStory story)
 {
     interdiction = new ProppActionData(story.interdiction);
     villainy     = new ProppVillainyData(story.villainy);
     foreach (var f in story.functions)
     {
         functions.Add(new ProppFunctionData(f));
     }
     characters = story.characters;
 }
示例#3
0
 public ProppStoryData(ProppStory story, int newId, string newName)
 {
     interdiction = new ProppActionData(story.interdiction);
     villainy     = new ProppVillainyData(story.villainy);
     foreach (var f in story.functions)
     {
         functions.Add(new ProppFunctionData(f));
     }
     characters = story.characters;
     id         = newId;
     name       = newName;
 }
示例#4
0
 public ProppVillainy(ProppVillainyData data)
 {
     villainyAction    = ProppActionFactory.Instance.CreateAction(data.villainyActionData);
     liquidationAction = ProppActionFactory.Instance.CreateAction(data.liquidationActionData);
 }