Commit 764b7b49 authored by Gabrielle Spielmann's avatar Gabrielle Spielmann

'update_datafacade_for_parameter_computerMode_in_createGame'

parent dcc32881
......@@ -437,10 +437,10 @@ public class DataFacade implements IDataCom, IDataIHMTable, IDataIHMMain {
* @param spectatorChat are spectators allowed to chat or not
* @param type type of the game created
*/
@Override
public Game createGame(String name, boolean spectator, boolean spectatorChat, GameType type) {
@Override
public Game createGame(String name, boolean computerMode, boolean spectator, boolean spectatorChat, GameType type) {
return this.createGame(name, spectator, spectatorChat, type);
return this.createGame(name, computerMode, spectator, spectatorChat, type);
}
......
......@@ -23,8 +23,7 @@ public interface IDataIHMMain {
public List<StatGame> getGameList();
public Game createGame(String name, boolean spectator, boolean spectatorChat, GameType type);
public Game createGame(String name, boolean computerMode, boolean spectator, boolean spectatorChat, GameType type);
public void signin(String username, String password) throws DataException;
public void signOut() throws Exception;
public List<LightPublicUser> getConnectedUsers();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment