nmmo.render.overlay module#
- class nmmo.render.overlay.Counts(config, realm, renderer, *args)#
Bases:
Overlay
- register()#
Compute the overlay and register it within realm. Override per overlay.
- update()#
Computes a count-based exploration map by painting tiles as agents walk over them
- class nmmo.render.overlay.Overlay(config, realm, renderer, *args)#
Bases:
object
Define a overlay for visualization in the client
Overlays are color images of the same size as the game map. They are rendered over the environment with transparency and can be used to gain insight about agent behaviors.
- register()#
Compute the overlay and register it within realm. Override per overlay.
- update()#
Compute per-tick updates to this overlay. Override per overlay.
- Args:
obs: Observation returned by the environment