コード例 #1
0
ファイル: Game.php プロジェクト: cleentfaar/windmill
 /**
  * {@inheritdoc}
  *
  * @return $this
  */
 public function addState(PersistableGameStateInterface $state)
 {
     $state->setGame($this);
     $this->states->add($state);
     return $this;
 }