2017-06-21 11:49:16 +00:00
|
|
|
class TerminalAdapterInterface(object):
|
2017-06-21 16:30:28 +00:00
|
|
|
@staticmethod
|
|
|
|
def is_available():
|
|
|
|
"""
|
|
|
|
:return: True if the environment implies we are using this terminal.
|
|
|
|
:rtype bool
|
|
|
|
"""
|
|
|
|
raise NotImplementedError()
|
|
|
|
|
2017-06-21 11:49:16 +00:00
|
|
|
def set_pokemon(self, pokemon):
|
2017-06-21 16:30:28 +00:00
|
|
|
"""
|
|
|
|
Set the background image of the terminal.
|
|
|
|
:param pokemon: Information about a Pokémon.
|
|
|
|
:type pokemon: dict
|
|
|
|
"""
|
2017-06-21 11:49:16 +00:00
|
|
|
raise NotImplementedError()
|
|
|
|
|
|
|
|
def clear(self):
|
2017-06-21 16:30:28 +00:00
|
|
|
"""
|
|
|
|
Clear the terminal's background image.
|
|
|
|
"""
|
2017-06-21 11:49:16 +00:00
|
|
|
raise NotImplementedError()
|