/// <summary> /// Update /// </summary> /// <param name="newData"></param> /// <returns></returns> public bool Update(PotionsModel newData) { if (newData == null) { return(false); } potionType = newData.potionType; Addition = newData.Addition; Guid = newData.Guid; ImageURI = newData.ImageURI; return(true); }
/// <summary> /// Create a copy /// </summary> /// <param name="data"></param> public PotionsModel(PotionsModel data) { Update(data); }