2023-03-26 15:14:06 +02:00
|
|
|
from StaticLevelElement import StaticLevelElement
|
|
|
|
from sprite.Spritesheet import Spritesheet
|
2023-03-26 14:12:46 +02:00
|
|
|
|
|
|
|
|
2023-03-26 15:14:06 +02:00
|
|
|
class InteractableElement(StaticLevelElement):
|
|
|
|
def __init__(self, spritesheet: Spritesheet, block_id: str, requires: list[str]):
|
|
|
|
super().__init__(spritesheet)
|
2023-03-26 14:12:46 +02:00
|
|
|
self.block_id = block_id
|
|
|
|
self.requires = requires
|