Beispiel #1
0
 /**
  * {@inheritdoc}
  *
  * @return $this
  */
 public function addState(PersistableGameStateInterface $state)
 {
     $state->setGame($this);
     $this->states->add($state);
     return $this;
 }