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

Add TODO

parent 19943b64
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ void define_unittype(py::module & m)
{
py::class_<UnitType>(m, "UnitType")
.def(py::init<const sc2::UnitTypeID &, IDABot &>())
// TODO: Rename this to is_typeid
.def("is_type_id", &UnitType::is, "Check if UnitType is UnitTypeID")
.def(py::self == py::self)
.def_property_readonly("unit_typeid", [](UnitType & unit_type) { return static_cast<sc2::UNIT_TYPEID>(unit_type.getAPIUnitType()); })
......
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