mirror of
https://github.com/LazoCoder/Pokemon-Terminal
synced 2025-01-10 11:28:43 +00:00
12 lines
250 B
Python
12 lines
250 B
Python
|
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")
|