Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BIT-MCS/DRL-eFresh
/ get_value
Method
get_value
common/image/draw_util.py:21–23 ·
view source on GitHub ↗
(self, x, y, map)
Source
from the content-addressed store, hash-verified
19
self.draw_sqr(i, j, 1, 1, border_value, map)
20
21
def
get_value(self, x, y, map):
22
x, y = self.__trans(x, y)
23
return
map[x][y]
24
25
def
__trans(self, x, y):
26
return
int(4 * x + 8), int(y * 4 + 8)
Callers
nothing calls this directly
Calls
1
__trans
Method · 0.95
Tested by
no test coverage detected