ft_transcendence/transcendence/abstract/AbstractRoomManager.py

13 lines
270 B
Python
Raw Normal View History

2023-12-23 12:11:30 -05:00
from .AbstractRoom import AbstractRoom
class AbstractRoomManager:
def __init__(self):
self._room_list: [AbstractRoom] = []
2023-12-23 12:36:16 -05:00
def remove(self, room: AbstractRoom):
self._room_list.remove(room)
def append(self, room: AbstractRoom):
self._room_list.append(room)