コード例 #1
0
        /// <summary> Assign existing data without time.</summary>
        /// <param name="copy">Data to be assigned.</param>
        public override void AssignWithoutTime(TimedData copy)
        {
            SceneData sd = copy as SceneData;

            Name       = sd.Name;
            Desc       = sd.Desc;
            ConceptArt = sd.ConceptArt;
            Color      = sd.Color;
        }
コード例 #2
0
 private static bool TimeOnScene(TimeSpan t, SceneData scene)
 {
     return(t >= scene.Start && t <= scene.End);
 }
コード例 #3
0
 /// <summary> Copy constructor. </summary>
 /// <param name="copy">Data to copy.</param>
 public SceneData(SceneData copy) : base(copy)
 {
     Desc       = copy.Desc;
     ConceptArt = copy.ConceptArt;
 }