--------------------------------------------- CAN ATTACK -------------------------------------------------
| 651 | } |
| 652 | //--------------------------------------------- CAN ATTACK ------------------------------------------------- |
| 653 | bool UnitImpl::canAttack(bool checkCommandibility) const |
| 654 | { |
| 655 | return Templates::canAttack(const_cast<UnitImpl*>(this), checkCommandibility); |
| 656 | } |
| 657 | bool UnitImpl::canAttack(Position target, bool checkCanTargetUnit, bool checkCanIssueCommandType, bool checkCommandibility) const |
| 658 | { |
| 659 | return Templates::canAttack(const_cast<UnitImpl*>(this), target, checkCanTargetUnit, checkCanIssueCommandType, checkCommandibility); |