BrainPart.py 367B

123456789101112131415
  1. class BrainPart():
  2. def __init__(self, host_brain):
  3. self._host_brain = host_brain
  4. self._context = self._host_brain.get_context()
  5. self._host = self._host_brain.get_host()
  6. def get_host_brain(self):
  7. return self._host_brain
  8. def get_host(self):
  9. return self.get_host_brain().get_host()
  10. def done(self):
  11. pass