Beispiel #1
0
        public AnimationRow AddRow(string lineIn)
        {
            AnimationRow newRow = new AnimationRow(lineIn);

            AddRow(newRow);
            return(newRow);
        }
Beispiel #2
0
 public int AddRow(AnimationRow newRow)
 {
     animationRows.Add(newRow);
     if (parentSequence != null)
     {
         parentSequence.MakeDirty();
     }
     return(animationRows.Count - 1);
 }
Beispiel #3
0
        public AnimationRow Clone()
        {
            AnimationRow rowOut = new AnimationRow();

            rowOut.rowIndex = rowIndex;
            foreach (AnimationColumn column in animationColumns)
            {
                AnimationColumn newCol = column.Clone();
                rowOut.animationColumns.Add(newCol);
            }
            return(rowOut);
        }
Beispiel #4
0
        public Animation Clone()
        {
            Animation dupOut = new Animation(null);

            dupOut.image = image;
            foreach (AnimationRow row in animationRows)
            {
                AnimationRow newRow = row.Clone();
                dupOut.animationRows.Add(newRow);
            }
            return(dupOut);
        }