/**
  * returns object to run game logic -> should only be called by factory
  * @param $id_game int
  * @return LogicSelectStart
  */
 public function __construct($id_game)
 {
     parent::__construct($id_game, PHASE_SELECTSTART);
     $this->logger = \Logger::getLogger('LogicSelectStart');
 }
Esempio n. 2
0
 /**
  * returns object to run game logic -> should only be called by factory
  *
  * @param $id_game int
  * @return LogicLandMove
  */
 public function __construct($id_game)
 {
     parent::__construct($id_game, PHASE_LANDMOVE);
     $this->logger = \Logger::getLogger('LogicLandMove');
     $this->die = new DieSix();
 }
 /**
  * returns object to run game logic -> should only be called by factory
  *
  * @param $id_game int
  * @return LogicLandMove
  */
 public function __construct($id_game)
 {
     parent::__construct($id_game, PHASE_PRODUCTION);
     $this->logger = \Logger::getLogger('LogicProduction');
 }