MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / glyph_for_state

Method glyph_for_state

examples/space_invaders/space_invaders.py:105–113  ·  view source on GitHub ↗

Return the appropriate data representation for this Glyph, based on the current coordinates and state. Subclasses may override this to provide animations.

(self, coord, state)

Source from the content-addressed store, hash-verified

103 return data, width, len(lines)
104
105 def glyph_for_state(self, coord, state):
106 """Return the appropriate data representation
107 for this Glyph, based on the current coordinates
108 and state.
109
110 Subclasses may override this to provide animations.
111
112 """
113 return self.data
114
115
116class GlyphCoordinate(Base):

Callers 1

renderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected