nmmo.render.render_client module#
- class nmmo.render.render_client.WebsocketRenderer(realm=None)#
Bases:
object
- register(overlay: ndarray) None #
Register an overlay to be sent to the client
The intended use of this function is: User types overlay -> client sends cmd to server -> server computes overlay update -> register(overlay) -> overlay is sent to client -> overlay rendered
- Args:
overlay: A map-sized (self.size) array of floating point values overlay must be a numpy array of dimension (*(env.size), 3)
- render_packet(packet) None #
- render_realm() None #