class Font
Description
99% of games use some sort of text in the game. Whether to display a score
or dialog from a character, rendering text on the game screen begins with
an Font
instance, to specify which font will be used with the text.
Font
is an EventEmitter
, which emits the following events:
load
: Fired when the font resource has completed it's loading process, either successfully or with an error (i.e. file not found). If an error occured, a nativeError
will be the first argument passed to any load listeners.