This commit is contained in:
HeshamTB 2018-09-27 10:34:14 +03:00
parent b7e1bf3792
commit 713b43b3a7

View File

@ -34,10 +34,10 @@ namespace OWTrack
public void Track() { }//Deserailize here public void Track() { }//Deserailize here
public void reset() { wins = 0; losses = 0; startSR = 0; newSR = 0; gamePath = null; } public void reset() { wins = 0; losses = 0; startSR = 0; newSR = 0; gamePath = null; }
public void addWin() { wins++; } public void addWin() => wins++;
public void addLoss() { losses++; } public void addLoss() => losses++;
public void reduceWin() { wins--; } public void reduceWin() => wins--;
public void rediceLoss() { losses--; } public void rediceLoss() => losses--;
public int GetWins() { return wins; } public int GetWins() { return wins; }
public int GetLosses() { return losses; } public int GetLosses() { return losses; }
public int GetTotalMatches() { return wins + losses; } public int GetTotalMatches() { return wins + losses; }