Skip to content
Snippets Groups Projects
Commit 912b7b1c authored by shinedday's avatar shinedday
Browse files

read_mails can now be overridden

parent 850479ef
Branches
No related tags found
No related merge requests found
......@@ -106,12 +106,12 @@ class CommunicatingAgent(Agent):
Override of phase 1 agent so he read mail before he perceive
this is the first phase of a cycle
"""
self._read_mails()
self.read_mails()
self.on_perceive()
self.compute_criticality()
self._next_phase()
def _read_mails(self) -> None:
def read_mails(self) -> None:
"""
method that open all mail in the mailbox
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment