public UndoAction(int layer, TileCell to, TileCell from, Point p) { LayerID = layer; CellTo = (TileCell)to.Clone(); CellFrom = (TileCell)from.Clone(); Point = p; }