/// <summary> /// /// </summary> /// <param name="temp"></param> public void Copy(TreasureOptionsWrapper temp) { if (temp == null) { return; } this._auditory = temp._auditory.Clone(); this._gOption = temp._gOption.Clone(); this._user = temp._user.Clone(); }
public void Copy(TreasureGame tmp) { if (tmp == null) { return; } this._nbZones = tmp._nbZones; this._nbDepth = tmp._nbDepth; this._nbCharges = tmp._nbCharges; this._isMaxGold = tmp._isMaxGold; this._MaxGold = tmp._MaxGold; this._mdDetect = tmp._mdDetect; this._mdDisplay = tmp._mdDisplay; this._mdOpacity = tmp._mdOpacity; }
/// <summary> /// /// </summary> /// <returns></returns> public TreasureGame Clone() { TreasureGame tmp = new TreasureGame(); tmp._nbZones = this._nbZones; tmp._nbDepth = this._nbDepth; tmp._nbCharges = this._nbCharges; tmp._isMaxGold = this._isMaxGold; tmp._MaxGold = this._MaxGold; tmp._mdDetect = this._mdDetect; tmp._mdDisplay = this._mdDisplay; tmp._mdOpacity = this._mdOpacity; return(tmp); }
override public void EndEdit() { //throw new NotImplementedException(); _tmpModel = null; }
override public void BeginEdit() { //throw new NotImplementedException(); _tmpModel = this.Clone(); }