1
0
Fork 0
menu/iboard.py

17 lines
322 B
Python
Raw Normal View History

#!/usr/bin/env python3
from abc import abstractmethod
from pygame import Surface
from pygame.event import Event
class IBoard:
@abstractmethod
def draw(self, screen: Surface):
raise NotImplementedError()
@abstractmethod
def handle_event(self, event: Event):
raise NotImplementedError()