MCPcopy Create free account
hub / github.com/marblexu/PythonPlantsVsZombies / drawMouseShow

Method drawMouseShow

source/state/level.py:518–524  ·  view source on GitHub ↗
(self, surface)

Source from the content-addressed store, hash-verified

516 self.done = True
517
518 def drawMouseShow(self, surface):
519 if self.hint_plant:
520 surface.blit(self.hint_image, self.hint_rect)
521 x, y = pg.mouse.get_pos()
522 self.mouse_rect.centerx = x
523 self.mouse_rect.centery = y
524 surface.blit(self.mouse_image, self.mouse_rect)
525
526 def drawZombieFreezeTrap(self, i, surface):
527 for zombie in self.zombie_groups[i]:

Callers 1

drawMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected