diff --git a/docs/idareplayobserver.rst b/docs/idareplayobserver.rst index c9a3b93085422fc7e1fc6656824e3c8a5701df6e..ed7c17a172b52f7d2f6f57215ff7b80359103fcb 100644 --- a/docs/idareplayobserver.rst +++ b/docs/idareplayobserver.rst @@ -25,6 +25,14 @@ IDAReplayObserver call the parent's on_game_start method in order to make it work (see :ref:`replays`). + .. method:: IDAReplayObserver.on_unit_created(self) + + This method is called when the an unit is created, that includes when an unit leaves a refinery. + + .. method:: IDAReplayObserver.on_unit_destroyed(self) + + This unit is called when a unit is destroyed. + Methods: .. method:: IDAReplayObserver.get_all_units(self) -> List[library.ReplayUnit]