MCPcopy Create free account
hub / github.com/AdaCompNUS/summit / __init__

Method __init__

PythonAPI/examples/no_rendering_mode.py:263–268  ·  view source on GitHub ↗

Initializes default HUD params and content data parameters that will be displayed

(self, name, width, height)

Source from the content-addressed store, hash-verified

261 """Class encharged of rendering the HUD that displays information about the world and the hero vehicle"""
262
263 def __init__(self, name, width, height):
264 """Initializes default HUD params and content data parameters that will be displayed"""
265 self.name = name
266 self.dim = (width, height)
267 self._init_hud_params()
268 self._init_data_params()
269
270 def start(self):
271 """Does nothing since it does not need to use other modules"""

Callers

nothing calls this directly

Calls 2

_init_hud_paramsMethod · 0.95
_init_data_paramsMethod · 0.95

Tested by

no test coverage detected