MCPcopy Create free account
hub / github.com/BIT-MCS/DRL-eFresh / get_value

Method get_value

common/image/map.py:19–20  ·  view source on GitHub ↗
(self, x, y, map)

Source from the content-addressed store, hash-verified

17 return self.__height
18
19 def get_value(self, x, y, map):
20 return map[x][y]
21
22 def draw_sqr(self, x, y, width, height, value, map):
23 assert 0 <= x < self.__width and 0 <= y < self.__height, 'the position ({0}, {1}) is not correct.'.format(x, y)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected