Fix: TCP Reconnection system -> model too
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package it.polimi.ingsw.gc14.Controller;
|
||||
|
||||
import it.polimi.ingsw.gc14.Model.Game;
|
||||
import it.polimi.ingsw.gc14.Model.GamePackage.GameStages;
|
||||
import it.polimi.ingsw.gc14.Model.Player;
|
||||
|
||||
/**
|
||||
@@ -31,12 +30,12 @@ public class GameController {
|
||||
public GameController() {
|
||||
}
|
||||
//TODO
|
||||
public boolean SkipNotConnectedPlayer(String username)
|
||||
public boolean DisconnectedPlayer(String username)
|
||||
{
|
||||
Player player= model.getPlayerByUsername(username);
|
||||
if(player==null)
|
||||
return false;
|
||||
return model.SkipNotConnectedPlayer(player);
|
||||
return model.DisconnectedPlayer(player);
|
||||
}
|
||||
//TODO
|
||||
public boolean ReconnectPlayer(String username)
|
||||
|
||||
Reference in New Issue
Block a user