/// <summary> /// Default constructor. /// </summary> public Rotate() { _hand.Bitmap = Resource.Rotate.ToBitmap(); _hand.Selected = true; _hand.Dimension = new Size(9, 9); Ghost = new GhostCollection(); }
/// <summary> /// Clones the GhostCollection. /// </summary> /// <returns>New GhostCollection.</returns> public override object Clone() { GhostCollection clonedCollection = new GhostCollection(); foreach (IShape shape in _ghosts) { clonedCollection.Ghosts.Add(shape.Clone() as IShape); } return(clonedCollection); }