forked from External/mage
[app-wiring-refactor]: Remove static initialisation
- Remove all enum static managers - Introduce interfaces for the managers - Define new application wiring class (`ManagerFactory`) - Externalise the configuration
This commit is contained in:
parent
cf3dd2d94c
commit
d0c2135e17
48 changed files with 1385 additions and 911 deletions
|
|
@ -0,0 +1,18 @@
|
|||
package mage.server.managers;
|
||||
|
||||
import mage.server.game.GamesRoom;
|
||||
|
||||
import java.util.Optional;
|
||||
import java.util.UUID;
|
||||
|
||||
public interface IGamesRoomManager {
|
||||
UUID createRoom();
|
||||
|
||||
UUID getMainRoomId();
|
||||
|
||||
UUID getMainChatId();
|
||||
|
||||
Optional<GamesRoom> getRoom(UUID roomId);
|
||||
|
||||
void removeTable(UUID tableId);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue