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

Method destroy

PythonAPI/examples/no_rendering_mode.py:1359–1362  ·  view source on GitHub ↗

Destroy the hero actor when class instance is destroyed

(self)

Source from the content-addressed store, hash-verified

1357 translation_offset[1]))
1358
1359 def destroy(self):
1360 """Destroy the hero actor when class instance is destroyed"""
1361 if self.spawned_hero is not None:
1362 self.spawned_hero.destroy()
1363
1364# ==============================================================================
1365# -- Input -----------------------------------------------------------

Callers 1

game_loopFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected