public AnimationRow AddRow(string lineIn) { AnimationRow newRow = new AnimationRow(lineIn); AddRow(newRow); return(newRow); }
public int AddRow(AnimationRow newRow) { animationRows.Add(newRow); if (parentSequence != null) { parentSequence.MakeDirty(); } return(animationRows.Count - 1); }
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); }
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); }