| Total Complexity | 2 |
| Total Lines | 11 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | from intelligine.synergy.object.BaseBug import BaseBug |
||
| 5 | class Bug(BaseBug): |
||
| 6 | |||
| 7 | def __init__(self, collection, context): |
||
| 8 | super().__init__(collection, context) |
||
| 9 | context.metas.states.add(self.get_id(), WALKER) |
||
| 10 | context.metas.collections.add(self.get_id(), COL_WALKER) |
||
| 11 | |||
| 12 | def die(self): |
||
| 13 | super().die() |
||
| 14 | self._remove_state(WALKER) |
||
| 15 | self._remove_col(COL_WALKER) |
||
| 16 |