Beispiel #1
0
 /**
  * сохраняем игру
  */
 function saveGame()
 {
     $item = array('users' => $this->users, 'game' => array('width' => $this->grid->gridWidth, 'height' => $this->grid->gridHeight, 'line' => $this->line));
     $this->db->saveGame(serialize($item), $this->id);
 }