예제 #1
0
 public void UpdateScore(Tetris.Engine.GameStats gameResult)
 {
     this.rowscleared      = gameResult.TotalRowClearings;
     this.fitness          = gameResult.Fitness;
     this.oneRowsCleared   = gameResult.OneRowClearings;
     this.twoRowsCleared   = gameResult.TwoRowsClearings;
     this.threeRowsCleared = gameResult.ThreeRowsClearings;
     this.fourRowsCleared  = gameResult.FourRowsClearings;
     this.blockSpawned     = gameResult.BlocksSpawned;
 }