2014-06-30 11:59:56 -05:00
|
|
|
|
namespace Ficdown.Parser.Model.Story.Extensions
|
|
|
|
|
{
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
public static class SceneExtensions
|
|
|
|
|
{
|
|
|
|
|
public static Scene Clone(this Scene scene)
|
|
|
|
|
{
|
|
|
|
|
return new Scene
|
|
|
|
|
{
|
|
|
|
|
Name = scene.Name,
|
|
|
|
|
Description = scene.Description,
|
2014-07-02 23:11:36 -05:00
|
|
|
|
Conditions = scene.Conditions == null ? null : new Dictionary<string, bool>(scene.Conditions)
|
2014-06-30 11:59:56 -05:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|