@@ -151,42 +151,42 @@ def title(self):
151151
152152 @property
153153 def type (self ):
154- """ The internal type id of the current unit type of this unit. None if no type is assigned"""
154+ """The internal type id of the current unit type of this unit. None if no type is assigned"""
155155 return self ._type_class .id if self ._type_class else None
156156
157157 @property
158158 def race (self ):
159- """ The race of this unit. One of Terran, Protoss, Zerg, Neutral, or None"""
159+ """The race of this unit. One of Terran, Protoss, Zerg, Neutral, or None"""
160160 return self ._type_class .race if self ._type_class else None
161161
162162 @property
163163 def minerals (self ):
164- """ The mineral cost of the unit. None if no type is assigned"""
164+ """The mineral cost of the unit. None if no type is assigned"""
165165 return self ._type_class .minerals if self ._type_class else None
166166
167167 @property
168168 def vespene (self ):
169- """ The vespene cost of the unit. None if no type is assigned"""
169+ """The vespene cost of the unit. None if no type is assigned"""
170170 return self ._type_class .vespene if self ._type_class else None
171171
172172 @property
173173 def supply (self ):
174- """ The supply used by this unit. Negative for supply providers. None if no type is assigned """
174+ """The supply used by this unit. Negative for supply providers. None if no type is assigned"""
175175 return self ._type_class .supply if self ._type_class else None
176176
177177 @property
178178 def is_worker (self ):
179- """ Boolean flagging units as worker units. SCV, MULE, Drone, Probe """
179+ """Boolean flagging units as worker units. SCV, MULE, Drone, Probe"""
180180 return self ._type_class .is_worker if self ._type_class else False
181181
182182 @property
183183 def is_building (self ):
184- """ Boolean flagging units as buildings. """
184+ """Boolean flagging units as buildings."""
185185 return self ._type_class .is_building if self ._type_class else False
186186
187187 @property
188188 def is_army (self ):
189- """ Boolean flagging units as army units. """
189+ """Boolean flagging units as army units."""
190190 return self ._type_class .is_army if self ._type_class else False
191191
192192 def __str__ (self ):
@@ -221,7 +221,7 @@ def __repr__(self):
221221
222222
223223class UnitType (object ):
224- """ Represents an in game unit type """
224+ """Represents an in game unit type"""
225225
226226 def __init__ (
227227 self ,
@@ -272,7 +272,7 @@ def __init__(
272272
273273
274274class Ability (object ):
275- """ Represents an in-game ability """
275+ """Represents an in-game ability"""
276276
277277 def __init__ (
278278 self , id , name = None , title = None , is_build = False , build_time = 0 , build_unit = None
0 commit comments