pybrood
pybrood copied to clipboard
Is there any way to create an object of type UnitType with pybrood.UnitTypes?
code below report an error: pybrood.inner.UnitType: No constructor defined! unit_type = UnitType(UnitTypes.Terran_Marine)
As far as I remember UnitTypes.Terran_Marine
is already an object of class UnitType
.
You can't create your own UnitTypes, you only can use predefined ones, as a database.