Mercurial > touhou
view pytouhou/game/orb.pxd @ 796:d876ac2ccfe1 default tip
Pass audio only once to GameRunner
This prevents it being recreated every stage change, and playing music over the
previous stages’ music.
| author | Link Mauve <linkmauve@linkmauve.fr> |
|---|---|
| date | Sun, 28 Jun 2026 14:27:03 +0200 |
| parents | b32cef75df59 |
| children |
line wrap: on
line source
from pytouhou.game.element cimport Element from pytouhou.game.sprite cimport Sprite cdef class Orb(Element): cdef public double offset_x, offset_y cdef Element player cdef object fire cpdef update(self)
