Contents Menu Expand Light mode Dark mode Auto light/dark mode
slayer-in-the-shadows 1.0.0 documentation
slayer-in-the-shadows 1.0.0 documentation
  • API Reference
    • slayer_in_the_shadows
      • slayer_in_the_shadows.sprites
        • slayer_in_the_shadows.sprites.attacks
        • slayer_in_the_shadows.sprites.bars
        • slayer_in_the_shadows.sprites.character
        • slayer_in_the_shadows.sprites.enemy
        • slayer_in_the_shadows.sprites.player
      • slayer_in_the_shadows.__main__
      • slayer_in_the_shadows.assets
      • slayer_in_the_shadows.constants
      • slayer_in_the_shadows.game_view
      • slayer_in_the_shadows.handlers

Other:

  • Changelog
Back to top

slayer_in_the_shadows.handlers#

Custom handlers for things such as collisions.

Module Contents#

Functions#

player_hits_enemy(player, enemy, *args)

Handles player hitting enemy

slayer_in_the_shadows.handlers.player_hits_enemy(player: slayer_in_the_shadows.sprites.player.Player, enemy: slayer_in_the_shadows.sprites.enemy.Enemy, *args)[source]#

Handles player hitting enemy

Next
Changelog
Previous
slayer_in_the_shadows.game_view
Copyright © Let's build a ...
Made with Sphinx and @pradyunsg's Furo
On this page
  • slayer_in_the_shadows.handlers
    • Module Contents
      • Functions
        • player_hits_enemy()