Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 595 Bytes

pygamelib.base.Console.rst

File metadata and controls

31 lines (16 loc) · 595 Bytes

Console

pygamelib.base

Console

The Console class is a singleton wrapper around the blessed.Terminal() class. Since the library is using Terminal a lot, it is both useful and efficient to have a quick access to a single instance of the class.

This class only expose one method: ~pygamelib.base.Console.instance() that returns the singleton instance.

Methods

~Console.instance