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

Method add_info

PythonAPI/examples/no_rendering_mode.py:301–303  ·  view source on GitHub ↗

Adds a block of information in the left HUD panel of the visualizer

(self, title, info)

Source from the content-addressed store, hash-verified

299 self._notifications.tick(clock)
300
301 def add_info(self, title, info):
302 """Adds a block of information in the left HUD panel of the visualizer"""
303 self._info_text[title] = info
304
305 def render_vehicles_ids(self, vehicle_id_surface, list_actors, world_to_pixel, hero_actor, hero_transform):
306 """When flag enabled, it shows the IDs of the vehicles that are spawned in the world. Depending on the vehicle type,

Callers 2

update_hud_infoMethod · 0.80
_show_nearby_vehiclesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected