MCPcopy Index your code
hub / github.com/marblexu/PythonPlantsVsZombies / loadImages

Method loadImages

source/component/plant.py:144–145  ·  view source on GitHub ↗
(self, name, scale)

Source from the content-addressed store, hash-verified

142 frames.append(tool.get_image(frame, x, y, width, height, color, scale))
143
144 def loadImages(self, name, scale):
145 self.loadFrames(self.frames, name, scale)
146
147 def changeFrames(self, frames):
148 '''change image frames and modify rect position'''

Callers 1

__init__Method · 0.95

Calls 1

loadFramesMethod · 0.95

Tested by

no test coverage detected