Feat : card distribute

This commit is contained in:
2024-06-13 22:39:46 -04:00
parent 4a56f3ed62
commit a22c6e1352
11 changed files with 565 additions and 487 deletions
+12
View File
@@ -0,0 +1,12 @@
import type { Container } from "./interfaces";
import type { CardParser } from "./interfaces/cards";
export type ContainerHandler = {
populateContainer: () => void;
shuffleContainer: () => void;
getCardsPosition: (cards: string) => any;
hideCards: (cards: CardParser[]) => void;
showCards: (cards: CardParser[]) => void;
};
export const containerEvents = new Map<string, ContainerHandler>();