Skip to content
Snippets Groups Projects
Commit 2c2c0d5e authored by David Bergström's avatar David Bergström
Browse files

Add inherited methods for IDABot

parent a3501f1d
No related branches found
No related tags found
No related merge requests found
IDABot
======
.. TODO: Missing methods: on_start, on_step
.. class:: library.IDABot
This is the basis of your bot. It contains all available managers and some
......@@ -29,6 +27,20 @@ IDABot
An instance of the class :class:`library.BuildingPlacer`
Inherited methods:
.. method:: IDABot.on_game_start(self)
This method when Starcraft has stared, when you inherit it you have to
call the parent's on_step method in order to make it work (see
:ref:`gettingstarted`).
.. method:: IDABot.on_step(self)
This method is run on every tick of the game, when you inherit it you
have to call the parent's on_step method in order to make it work (see
:ref:`gettingstarted`).
Methods:
.. method:: IDABot.get_all_units(self) -> List[library.Unit]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment