Mercurial > touhou
comparison 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 |
comparison
equal
deleted
inserted
replaced
510:64a72df88de5 | 511:2e8ceaa85d5c |
---|---|
1 from pytouhou.lib.sdl cimport Font | 1 from pytouhou.lib.sdl cimport Font |
2 | 2 |
3 cdef class TextureManager: | 3 cdef class TextureManager: |
4 cdef object loader, renderer, texture_class | 4 cdef object loader, renderer, texture_class |
5 | 5 |
6 cdef load(self, dict anms) | 6 cdef void load(self, dict anms) except * |
7 | 7 |
8 cdef class FontManager: | 8 cdef class FontManager: |
9 cdef Font font | 9 cdef Font font |
10 cdef object renderer, texture_class | 10 cdef object renderer, texture_class |
11 | 11 |
12 cdef load(self, list labels) | 12 cdef void load(self, list labels) except * |