receivesAttackFromEnemy method
Implementation
bool receivesAttackFromEnemy() {
return receivesAttackFrom == ReceivesAttackFromEnum.ALL ||
receivesAttackFrom == ReceivesAttackFromEnum.ENEMY;
}
bool receivesAttackFromEnemy() {
return receivesAttackFrom == ReceivesAttackFromEnum.ALL ||
receivesAttackFrom == ReceivesAttackFromEnum.ENEMY;
}