Exemplo n.º 1
0
 /**
  * @param TechnologyCombat $technology
  * @param integer $count
  */
 public function __construct(TechnologyCombat $technology, $count)
 {
     parent::__construct($technology);
     $this->_count = $count;
 }
Exemplo n.º 2
0
 public function jsonSerialize()
 {
     return array_merge(array('level' => $this->level), parent::jsonSerialize());
 }
Exemplo n.º 3
0
 /**
  * @param TechnologyCombat $technology
  * @param integer $level
  */
 public function __construct(TechnologyEconomy $technology, $level)
 {
     parent::__construct($technology);
     $this->_level = $level;
 }
Exemplo n.º 4
0
 public function jsonSerialize()
 {
     return array_merge(array('count' => $this->count), parent::jsonSerialize());
 }