MCPcopy Create free account
hub / github.com/geekcomputers/Python / inBounds

Method inBounds

floodfill/floodfill.py:120–125  ·  view source on GitHub ↗
(self, coord)

Source from the content-addressed store, hash-verified

118 del pixArr
119
120 def inBounds(self, coord):
121 if coord[0] < 0 or coord[0] >= self.window_width:
122 return False
123 elif coord[1] < 0 or coord[1] >= self.window_height:
124 return False
125 return True
126
127
128if __name__ == "__main__":

Callers 1

updateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected