Exemplo n.º 1
0
 /**
  * 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');
 }
Exemplo 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();
 }
Exemplo n.º 3
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_PRODUCTION);
     $this->logger = \Logger::getLogger('LogicProduction');
 }