summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cameltris/screens/base_screen.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/cameltris/screens/base_screen.py b/cameltris/screens/base_screen.py
index 87c15f4..45f3954 100644
--- a/cameltris/screens/base_screen.py
+++ b/cameltris/screens/base_screen.py
@@ -1,11 +1,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:
- pass
+ """ Refresh the screen"""
@abc.abstractmethod
def oneframe(self) -> None:
- pass
+ """ Perform the updates needed for the current frame """