From 713b43b3a70134b435b657f014dd68fa2261e332 Mon Sep 17 00:00:00 2001 From: HeshamTB Date: Thu, 27 Sep 2018 10:34:14 +0300 Subject: [PATCH] refactor --- OWTrack/Tracker.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OWTrack/Tracker.cs b/OWTrack/Tracker.cs index d734ecd..bcb0994 100644 --- a/OWTrack/Tracker.cs +++ b/OWTrack/Tracker.cs @@ -34,10 +34,10 @@ namespace OWTrack public void Track() { }//Deserailize here public void reset() { wins = 0; losses = 0; startSR = 0; newSR = 0; gamePath = null; } - public void addWin() { wins++; } - public void addLoss() { losses++; } - public void reduceWin() { wins--; } - public void rediceLoss() { losses--; } + public void addWin() => wins++; + public void addLoss() => losses++; + public void reduceWin() => wins--; + public void rediceLoss() => losses--; public int GetWins() { return wins; } public int GetLosses() { return losses; } public int GetTotalMatches() { return wins + losses; }