Retrieve the default sprite from the top of the sprite stack
()
| 26 | |
| 27 | |
| 28 | def current_sprite() -> sprite.Sprite | None: |
| 29 | """ |
| 30 | Retrieve the default sprite from the top of the sprite stack |
| 31 | """ |
| 32 | if len(_sprite_stack) == 0: |
| 33 | return None |
| 34 | return _sprite_stack[-1] |
| 35 | |
| 36 | |
| 37 | def pop_sprite(_sprite: sprite.Sprite) -> sprite.Sprite | None: |
no outgoing calls
no test coverage detected