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

            AddRow(newRow);
            return(newRow);
        }
예제 #2
0
 public int AddRow(AnimationRow newRow)
 {
     animationRows.Add(newRow);
     if (parentSequence != null)
     {
         parentSequence.MakeDirty();
     }
     return(animationRows.Count - 1);
 }
예제 #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);
        }
예제 #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);
        }