/**
  * @param TechnologyCombat $technology
  * @param integer $count
  * @param integer $lost
  */
 public function __construct(TechnologyCombat $technology, $count, $lost = false)
 {
     parent::__construct($technology, $count);
     $this->_lost = $lost;
 }
Example #2
0
 /**
  * @param StateCombat $entityState
  */
 public function addDefence(StateCombat $entityState)
 {
     $this->defence[$entityState->getTechnology()->getType()] = $entityState;
 }