from core.Monitor import Monitor from bots.fishing.FishingAgent import FishingAgent from bots.idling.IdlingAgent import IdlingAgent from core.Player import Player, PLAYER_STATE class MainAgent: def __init__(self) -> None: self.monitor = Monitor() self.playerAgent = Player(self.monitor) self.idlingBot = IdlingAgent(self.monitor, self.playerAgent) self.fishingBot = FishingAgent(self.monitor, self.playerAgent) self.monitor.startScreenCaptureThread() # Start idling agent at the construction of the mainAgent for now self.idlingBot.run() def startFishBot(self): self.playerAgent.changeState(PLAYER_STATE.FISHING) self.fishingBot.run()