mirror of
https://github.com/LazoCoder/Pokemon-Terminal
synced 2024-12-18 00:03:07 +00:00
22 lines
597 B
Python
22 lines
597 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_pokemon(self, pokemon):
|
|
"""
|
|
Set the background image of the terminal.
|
|
:param pokemon: Information about a Pokémon.
|
|
:type pokemon: dict
|
|
"""
|
|
raise NotImplementedError()
|
|
|
|
def clear(self):
|
|
"""
|
|
Clear the terminal's background image.
|
|
"""
|
|
raise NotImplementedError()
|