mirror of
https://github.com/LazoCoder/Pokemon-Terminal
synced 2024-12-13 05:52:34 +00:00
22 lines
605 B
Python
22 lines
605 B
Python
class TerminalAdapterInterface(object):
|
|
@staticmethod
|
|
def is_available():
|
|
"""
|
|
:return: True if the environment implies we are using this terminal.
|
|
:rtype bool
|
|
"""
|
|
raise NotImplementedError()
|
|
|
|
def set_image_file_path(self, image_file_path):
|
|
"""
|
|
Set the background image of the terminal.
|
|
:param image_file_path: Path to an image file.
|
|
:rtype str
|
|
"""
|
|
raise NotImplementedError()
|
|
|
|
def clear(self):
|
|
"""
|
|
Clear the terminal's background image.
|
|
"""
|
|
raise NotImplementedError()
|