Working on 1.1.22

This commit is contained in:
mirai
2023-12-03 16:18:09 +03:00
parent 316a0e3e1e
commit 6a044ecaf8
8 changed files with 204 additions and 75 deletions
+24
View File
@@ -0,0 +1,24 @@
from abc import ABC, abstractmethod
class ClientRenderer(ABC):
@abstractmethod
def print_message(self, message: str) -> str:
raise NotImplementedError("Need to implement print_message")
@abstractmethod
def clear_console(self, message: str) -> str:
raise NotImplementedError("Need to implement clear_console")
@abstractmethod
def print_ip(self, url: str, username: str):
raise NotImplementedError("Need to implement print_ip")
@abstractmethod
def print_username(self):
raise NotImplementedError("Need to implement print_username")
@abstractmethod
def print_chat(self) -> list[str]:
raise NotImplementedError("Need to implement print_chat")