Public Member Functions | |
| def | __init__ |
| def | draw |
Public Attributes | |
| items | |
| backg | |
| fontType | |
| fontSize | |
| spread | |
| fontColor | |
| textList | |
Class for generating credits based on
a set of items and a background image
It takes as input a list of strings (each corresponding to a line on
the screen) and a background image.
The first item in the list is the bottom one
If one needs to change the text size or color, one can make use of the
class attributes
| def credits.Credits.draw | ( | self, | |
| screen | |||
| ) |
drawing the credits
1.7.6.1