mirror of
https://github.com/DavidGailleton/42-Piscine_Python.git
synced 2026-03-13 20:56:54 +01:00
13 lines
286 B
Python
13 lines
286 B
Python
from abc import ABC, abstractmethod
|
|
|
|
|
|
class Magical(ABC):
|
|
@abstractmethod
|
|
def cast_spell(self, spell_name: str, targets: list) -> dict: ...
|
|
|
|
@abstractmethod
|
|
def channel_mana(self, amount: int) -> dict: ...
|
|
|
|
@abstractmethod
|
|
def get_magic_stats(self) -> dict: ...
|