MCPcopy
hub / github.com/will8211/unimatrix / get_char

Method get_char

unimatrix.py:593–597  ·  view source on GitHub ↗

Returns a random character from the active character set

()

Source from the content-addressed store, hash-verified

591
592 @staticmethod
593 def get_char():
594 """
595 Returns a random character from the active character set
596 """
597 return chars[randint(0, chars_len)]
598
599 @staticmethod
600 def get_attr(node, above=False):

Callers 2

drawMethod · 0.95
draw_flasherMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected