blob: 45f395443dcda640fa4c8dd6c64a6640b7470968 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
""" Module that defines the base abstract class for a screen """
import abc
class Screen(abc.ABC):
""" Represents an abstract class for a screen """
@abc.abstractmethod
def refresh(self) -> None:
""" Refresh the screen"""
@abc.abstractmethod
def oneframe(self) -> None:
""" Perform the updates needed for the current frame """
|