public General_Piece(General_Piece temp) { this._Player = temp._Player; this._picBox = null; this._X = temp._X; this._Y = temp._Y; this._Type = temp._Type; }
public General_Piece Swap_Pieces(General_Piece temp) { General_Piece this_piece = new General_Piece(this._Player, this._picBox, this._X, this._Y, this._Type); this._Player = temp._Player; this._picBox = temp._picBox; //this._X = temp._X; //this._Y = temp._Y; this._Type = temp._Type; return(this_piece); }