You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
470 B
17 lines
470 B
import { Game } from "../../core/Game";
|
|
|
|
export default interface ILoaderGame{
|
|
|
|
/**
|
|
* loadAllGame methode that load every Game from the data management system
|
|
* return an array of Game
|
|
*/
|
|
loadAllGame(): Promise<Game[]>;
|
|
|
|
/**
|
|
* loadByID methode that load a match from the data management system by its id
|
|
* id the id we want to search
|
|
* return a Game if found, if not null
|
|
*/
|
|
loadByID(id:string): Promise<Game | null>;
|
|
} |