Mercurial > touhou
view pytouhou/game/orb.pxd @ 677:082c39d7d1c3
Use a struct for difficulty coeffs, so that we can impl Default on it.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 15 Aug 2019 21:32:54 +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)