MCPcopy
hub / github.com/geekcomputers/Python / deleteAll

Method deleteAll

Flappy Bird - created with tkinter/Tubes.py:187–199  ·  view source on GitHub ↗

Método para deletar todos os tubos gerados

(self)

Source from the content-addressed store, hash-verified

185 self.__distance = 0
186
187 def deleteAll(self):
188 """
189 Método para deletar todos os tubos gerados
190 """
191
192 # Deleta os tubos gerados no background
193 for tubes in self.__tubes:
194 for tube in tubes:
195 for body in tube:
196 self.__background.delete(body)
197
198 self.__background.clear()
199 self.__background.tubeImages.clear()
200
201 @staticmethod
202 def getPhotoImage(

Callers 1

__init__Method · 0.95

Calls 2

clearMethod · 0.80
deleteMethod · 0.45

Tested by

no test coverage detected