Commit | Line | Data |
---|---|---|
cb700bcc | 1 | # from ya2.gameobject import GameObject |
8ee66edd FC |
2 | |
3 | ||
cb700bcc | 4 | # class FontMgr(GameObject): |
8ee66edd | 5 | |
cb700bcc FC |
6 | # def __init__(self): |
7 | # GameObject.__init__(self) | |
8 | # self.__fonts = {} | |
8ee66edd | 9 | |
cb700bcc FC |
10 | # def load_font(self, fpath, outline=True): |
11 | # if fpath not in self.__fonts: | |
12 | # self.__fonts[fpath] = self.eng.lib.load_font(fpath, outline) | |
13 | # return self.__fonts[fpath] | |
8ee66edd | 14 | |
cb700bcc FC |
15 | # def destroy(self): |
16 | # self.__fonts = None | |
17 | # GameObject.destroy(self) |