MCPcopy Create free account
hub / github.com/rlcode/reinforcement-learning / _circle

Function _circle

1-grid-world/env.py:49–50  ·  view source on GitHub ↗
(surf, x, y, unit, color, y_off=0)

Source from the content-addressed store, hash-verified

47
48
49def _circle(surf, x, y, unit, color, y_off=0):
50 pygame.draw.circle(surf, color, _center(x, y, unit, y_off), int(unit * 0.33))
51
52
53def _triangle(surf, x, y, unit, color, y_off=0):

Callers 3

renderMethod · 0.85
renderMethod · 0.85
_renderMethod · 0.85

Calls 1

_centerFunction · 0.85

Tested by

no test coverage detected