| Total Complexity | 1 |
| Total Lines | 7 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | from intelligine.simulation.object.brain.part.BrainPart import BrainPart |
||
| 4 | class AttackBrainPart(BrainPart): |
||
| 5 | |||
| 6 | @classmethod |
||
| 7 | def can_attack(cls, context, object_id, concerned_object_id): |
||
| 8 | # Pour le moment on ne passe ici que si c'est un object ATTACKABLE d'une colonie differente. On attaque |
||
| 9 | # toujours. On codera dans ce brain part la decision d'attaquer. |
||
| 10 | return True |