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

Method initBowlingMap

source/state/level.py:81–85  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

79 self.draw(surface)
80
81 def initBowlingMap(self):
82 print('initBowlingMap')
83 for x in range(3, self.map.width):
84 for y in range(self.map.height):
85 self.map.setMapGridType(x, y, c.MAP_EXIST)
86
87 def initState(self):
88 if c.CHOOSEBAR_TYPE in self.map_data:

Callers 1

initStateMethod · 0.95

Calls 1

setMapGridTypeMethod · 0.80

Tested by

no test coverage detected