Skip to content

Commit e2f0864

Browse files
ddthjtarehart
authored andcommittedJun 13, 2018
Added initialize_agent to PythonExample (#3)
1 parent 623c96d commit e2f0864

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎python_example/python_example.py

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
class PythonExample(BaseAgent):
88

9+
def initialize_agent(self):
10+
#This runs once before the bot starts up
11+
pass
12+
913
def get_output(self, packet: GameTickPacket) -> SimpleControllerState:
1014
controller_state = SimpleControllerState()
1115

0 commit comments

Comments
 (0)
Please sign in to comment.