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.
14 lines
402 B
14 lines
402 B
import 'GameDetail.dart';
|
|
import 'Player.dart';
|
|
|
|
abstract class IGameManager {
|
|
GameDetail getGameById(int id);
|
|
List<GameDetail> getGamesByPlayerId(int id);
|
|
List<GameDetail> getGamesByPlayer(Player user);
|
|
List<GameDetail> getGamesByPlayers(List<Player> users);
|
|
List<Player> getPlayersByIdGame(int id);
|
|
Map<Player, int> getRankByIdGame(int id);
|
|
int getNextId();
|
|
addGame(GameDetail gd);
|
|
}
|