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

Add page on types

parent 8734010a
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@ This is a Python module for implementing bots for Starcraft II.
:caption: Contents:
quickstart
types
unit
managers
playerconstants
......@@ -35,8 +36,6 @@ Short overview
library.UNIT_TYPEID
library.UPGRADE_ID
library.Unit
library.UnitType
library.UnitTypeID
Indices and tables
==================
......
Types
=====
For a full list of all unit types see the enum :class:`library.UNIT_TYPEID`.
For more information about a certain unit type, the wrapper class
:class:`library.UnitType` can be used.
For a full list of all abilities and upgrades, see :class:`library.ABILITY_ID`
and :class:`library.UPGRADE_ID` respectively. Note that these does not have any
wrapper classes for them.
UnitType
--------
As explained above, this class is a wrapper around the class
:class:`library.UNIT_TYPEID`.
.. autoclass:: library.UnitType
:members:
:undoc-members:
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