view pytouhou/ui/texture.pxd @ 511:2e8ceaa85d5c

Don’t type the renderer in GameRunner, so that we can switch it without type issues.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 28 Nov 2013 18:55:43 +0100
parents bfea9e9a6845
children
line wrap: on
line source

from pytouhou.lib.sdl cimport Font

cdef class TextureManager:
    cdef object loader, renderer, texture_class

    cdef void load(self, dict anms) except *

cdef class FontManager:
    cdef Font font
    cdef object renderer, texture_class

    cdef void load(self, list labels) except *