Esempio n. 1
0
 /**
  * @param $positions
  *
  * @return WinCount
  */
 public function getWinCountByPositions($positions)
 {
     $set = $this->getKitCells();
     $winCount = new WinCount();
     foreach ($positions as $position) {
         if ($set[$position] === null) {
             continue;
         }
         $winCount->addCell($set[$position]);
     }
     return $winCount;
 }