diff --git a/python-api-src/lib_unittype.cpp b/python-api-src/lib_unittype.cpp index 4dd896a9d0c7ec107733750749ce18aa678f9e18..40e2b5abcae8f8538df55ec4e4eb1aa59052fe02 100644 --- a/python-api-src/lib_unittype.cpp +++ b/python-api-src/lib_unittype.cpp @@ -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()); })