Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PyCommandCenter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Starcraft AI Course
PyCommandCenter
Commits
cbe8af94
Commit
cbe8af94
authored
4 years ago
by
Edvin Bergström
Browse files
Options
Downloads
Patches
Plain Diff
Added decs for unit destroyd and created
parent
321c3be0
No related branches found
No related tags found
1 merge request
!6
Replays
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/idareplayobserver.rst
+8
-0
8 additions, 0 deletions
docs/idareplayobserver.rst
with
8 additions
and
0 deletions
docs/idareplayobserver.rst
+
8
−
0
View file @
cbe8af94
...
...
@@ -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]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment