id; } /** * Constructor */ public function __construct() { $this->step = new ArrayCollection(); } /** * Set redPoints * * @param integer $redPoints * * @return PlayedGame */ public function setRedPoints($redPoints) { $this->redPoints = $redPoints; return $this; } /** * Get redPoints * * @return integer */ public function getRedPoints() { return $this->redPoints; } /** * Set bluePoints * * @param integer $bluePoints * * @return PlayedGame */ public function setBluePoints($bluePoints) { $this->bluePoints = $bluePoints; return $this; } /** * Get bluePoints * * @return integer */ public function getBluePoints() { return $this->bluePoints; } /** * Set redHasBomb * * @param string $redHasBomb * * @return PlayedGame */ public function setRedHasBomb($redHasBomb) { $this->redHasBomb = $redHasBomb; return $this; } /** * Get redHasBomb * * @return string */ public function getRedHasBomb() { return $this->redHasBomb; } /** * Set blueHasBomb * * @param string $blueHasBomb * * @return PlayedGame */ public function setBlueHasBomb($blueHasBomb) { $this->blueHasBomb = $blueHasBomb; return $this; } /** * Get blueHasBomb * * @return string */ public function getBlueHasBomb() { return $this->blueHasBomb; } /** * Set grid * * @param Grid $grid * * @return PlayedGame */ public function setGrid(Grid $grid = null) { $this->grid = $grid; return $this; } /** * Get grid * * @return Grid */ public function getGrid() { return $this->grid; } /** * Set red * * @param User $red * * @return PlayedGame */ public function setRed(User $red = null) { $this->red = $red; return $this; } /** * Get red * * @return User */ public function getRed() { return $this->red; } /** * Set blue * * @param User $blue * * @return PlayedGame */ public function setBlue(User $blue = null) { $this->blue = $blue; return $this; } /** * Get blue * * @return User */ public function getBlue() { return $this->blue; } /** * Add step * * @param \Mine\SeekerBundle\Entity\Step $step * * @return PlayedGame */ public function addStep(\Mine\SeekerBundle\Entity\Step $step) { $this->step[] = $step; return $this; } /** * Remove step * * @param \Mine\SeekerBundle\Entity\Step $step */ public function removeStep(\Mine\SeekerBundle\Entity\Step $step) { $this->step->removeElement($step); } /** * Get step * * @return \Doctrine\Common\Collections\Collection */ public function getStep() { return $this->step; } /** * Set redAnon * * @param Gamer $redAnon * * @return PlayedGame */ public function setRedAnon(Gamer $redAnon = null) { $this->redAnon = $redAnon; return $this; } /** * Get redAnon * * @return Gamer */ public function getRedAnon() { return $this->redAnon; } /** * Set blueAnon * * @param Gamer $blueAnon * * @return PlayedGame */ public function setBlueAnon(Gamer $blueAnon = null) { $this->blueAnon = $blueAnon; return $this; } /** * Get blueAnon * * @return Gamer */ public function getBlueAnon() { return $this->blueAnon; } }