14 lines
398 B
Python
14 lines
398 B
Python
|
from level.elements.StaticLevelElement import StaticLevelElement
|
||
|
from sprite.Spritesheet import Spritesheet
|
||
|
|
||
|
|
||
|
class DoorElement(StaticLevelElement):
|
||
|
def __init__(self, spritesheet: Spritesheet, id : str, requires : list[str]):
|
||
|
super().__init__(spritesheet)
|
||
|
self.id = id
|
||
|
self.requires = requires
|
||
|
|
||
|
def openDoor(self):
|
||
|
pass
|
||
|
def closeDoor(self):
|
||
|
pass
|