ft_transcendence/transcendence/abstract/AbstractRoomManager.py

12 lines
269 B
Python

from .AbstractRoom import AbstractRoom
class AbstractRoomManager:
def __init__(self):
self._room_list: [AbstractRoom] = []
def append(self, room: AbstractRoom):
self._room_list.append(room)
def remove(self, room: AbstractRoom):
self._room_list.remove(room)