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