""" 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 """