Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function addState(GameState $gameState)
 {
     $this->states->add($gameState);
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  *
  * @return $this
  */
 public function addState(PersistableGameStateInterface $state)
 {
     $state->setGame($this);
     $this->states->add($state);
     return $this;
 }