Pokemon-Terminal/adapter/implementations/Terminology.py

12 lines
250 B
Python
Raw Normal View History

2017-06-21 11:49:16 +00:00
import os
from adapter.base import TerminalAdapterInterface
class Terminology(TerminalAdapterInterface):
def set_pokemon(self, pokemon):
os.system('tybg "%s"'.format(pokemon.get_path()))
def clear(self):
os.system("tybg")