public function renderCell($x, $y) { $cell = $this->layer->getCell($x, $y); if (empty($cell)) { exit($x . ' ' . $y); } return $this->render($cell); }