MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / get_borders

Method get_borders

Lazy_Pong/pong.py:150–158  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

148 self.draw(self.surface)
149
150 def get_borders(self) -> dict:
151 return {
152 'left': self.center_x - self.radius,
153 'right': self.center_x + self.radius,
154 'top': self.center_y - self.radius,
155 'bott': self.center_y + self.radius,
156 'center_x': self.center_x,
157 'center_y': self.center_y
158 }
159
160
161class Gamer:

Callers 2

_check_collisionMethod · 0.45
_move_computerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected