public TetrisAi(TetrisAiWeights tetrisAiWeights) { this.landingHeight = tetrisAiWeights.LandingHeight; this.rowTransitions = tetrisAiWeights.RowTransitions; this.columnTransitions = tetrisAiWeights.ColumnTransitions; this.rowsCleared = tetrisAiWeights.RowsCleared; this.numberOfHoles = tetrisAiWeights.NumberOfHoles; this.wellSums = tetrisAiWeights.WellSums; }
////////////////////////////////////////////////////////////////////////// public TetrisAi(TetrisAiWeights tetrisAiWeights) { landingHeight = tetrisAiWeights.LandingHeight; rowTransitions = tetrisAiWeights.RowTransitions; columnTransitions = tetrisAiWeights.ColumnTransitions; rowsCleared = tetrisAiWeights.RowsCleared; numberOfHoles = tetrisAiWeights.NumberOfHoles; wellSums = tetrisAiWeights.WellSums; }