ft_transcendence/transcendence/abstract/AbstractRoomManager.py
2023-12-23 18:36:16 +01:00

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)