forked from UNN/2026-rff_mp
12 lines
210 B
Python
12 lines
210 B
Python
|
|
from abc import ABC, abstractmethod
|
||
|
|
|
||
|
|
|
||
|
|
class Command(ABC):
|
||
|
|
@abstractmethod
|
||
|
|
def execute(self):
|
||
|
|
raise NotImplementedError
|
||
|
|
|
||
|
|
@abstractmethod
|
||
|
|
def undo(self):
|
||
|
|
raise NotImplementedError
|