Destroy the hero actor when class instance is destroyed
(self)
| 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 ----------------------------------------------------------- |