13 lines
270 B
Python
13 lines
270 B
Python
from .AbstractRoom import AbstractRoom
|
|
|
|
class AbstractRoomManager:
|
|
|
|
def __init__(self):
|
|
self._room_list: [AbstractRoom] = []
|
|
|
|
def remove(self, room: AbstractRoom):
|
|
self._room_list.remove(room)
|
|
|
|
def append(self, room: AbstractRoom):
|
|
self._room_list.append(room)
|