public BuildInfo(int buildID, string buildName, BuildCards buildCards, int drawCardNum, int life, int energy, int beginMetal, GamePlaySettings gamePlaySettings) { BuildID = buildID; BuildName = buildName; M_BuildCards = buildCards.Clone(); DrawCardNum = drawCardNum; Life = life; Energy = energy; BeginMetal = beginMetal; GamePlaySettings = gamePlaySettings; }
public BuildInfo Clone() { return(new BuildInfo(GenerateBuildID(), BuildName, M_BuildCards.Clone(), DrawCardNum, Life, Energy, BeginMetal, GamePlaySettings?.Clone())); }