1 from lib
.gameobject
import GameObject
4 class FontMgr(GameObject
):
7 GameObject
.__init
__(self
)
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
]
17 GameObject
.destroy(self
)