mirror of
https://github.com/DavidGailleton/42-Piscine_Python.git
synced 2026-04-29 00:24:34 +02:00
module 7 ex 0 to 2
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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: ...
|
||||
Reference in New Issue
Block a user