示例#1
0
 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;
 }
示例#2
0
 public BuildInfo Clone()
 {
     return(new BuildInfo(GenerateBuildID(), BuildName, M_BuildCards.Clone(), DrawCardNum, Life, Energy, BeginMetal, GamePlaySettings?.Clone()));
 }