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.
BOB_PARTY/bob_party/src/services/gameService/managerGame.ts

48 lines
809 B

import { Game } from "../../core/game";
import ILoaderGame from "./ILoaderGame";
export default class ManagerGame{
private tabGame: Game[]=[];
private tabGameSolo: Game[]=[];
private tabGameMulti: Game[]=[];
private loaderGame: ILoaderGame;
public currentGameType: string="";
constructor(loader:ILoaderGame){
this.loaderGame=loader;
}
getTabGame(){
return this.tabGame;
}
setTabGame(g:Game[]){
this.tabGame=g;
}
getTabGameSolo(){
return this.tabGameSolo;
}
setTabGameSolo(g:Game[]){
this.tabGameSolo=g;
}
getTabGameMulti(){
return this.tabGameMulti;
}
setTabGameMulti(g:Game[]){
this.tabGameMulti=g;
}
getLoaderGame(){
return this.loaderGame;
}
}