comparison pytouhou/ui/window.pxd @ 594:12756994a92c

Make frameskip actually skip the rendering part, not just the buffer swap.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 18 Oct 2014 18:04:43 +0200
parents 0768122da817
children ab131d04987d
comparison
equal deleted inserted replaced
593:974decb8df4f 594:12756994a92c
13 cdef class Runner: 13 cdef class Runner:
14 cdef long width, height 14 cdef long width, height
15 15
16 cdef void start(self) except * 16 cdef void start(self) except *
17 cdef void finish(self) except * 17 cdef void finish(self) except *
18 cpdef bint update(self) except? False 18 cpdef bint update(self, bint render) except? False
19 19
20 20
21 cdef class Window: 21 cdef class Window:
22 cdef sdl.Window win 22 cdef sdl.Window win
23 cdef Runner runner 23 cdef Runner runner