diff --git a/main.py b/main.py index e74f03c75b31a19df3ade05e15e299952a8f9cbb..6c4b705ce591864b169723085d832356106a05cb 100644 --- a/main.py +++ b/main.py @@ -2,6 +2,7 @@ import os from library import * + class MyAgent(IDABot): def __init__(self): IDABot.__init__(self) @@ -12,6 +13,7 @@ class MyAgent(IDABot): def on_step(self): IDABot.on_step(self) + def main(): coordinator = Coordinator() bot1 = MyAgent() @@ -31,5 +33,6 @@ def main(): while coordinator.update(): pass + if __name__ == "__main__": main() \ No newline at end of file