view pytouhou/game/lasertype.pxd @ 538:1abb6f7db8cc

Don’t retrieve the keyboard_state pointer at each frame.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 24 Apr 2014 20:01:42 +0200
parents 8038f1957b71
children
line wrap: on
line source

cdef class LaserType:
    cdef long anim_index, launch_sprite_idx
    cdef tuple launch_anim_offsets
    cdef object anm