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

Method tick

PythonAPI/examples/no_rendering_mode.py:1397–1399  ·  view source on GitHub ↗

Executed each frame. Calls method for parsing input.

(self, clock)

Source from the content-addressed store, hash-verified

1395 """Does nothing. Input module does not need render anything."""
1396
1397 def tick(self, clock):
1398 """Executed each frame. Calls method for parsing input."""
1399 self.parse_input(clock)
1400
1401 def _parse_events(self):
1402 """Parses input events. These events are executed only once when pressing a key."""

Callers 1

game_loopFunction · 0.95

Calls 1

parse_inputMethod · 0.95

Tested by

no test coverage detected