public function addCell($x, $y) { $cell = new CellField($x, $y); $cell->setDebug($this->debug); $this->cells[] = $cell; }