WIP: Major update #45

Closed
Hesham wants to merge 16 commits from develop-laptop into master
2 changed files with 6 additions and 6 deletions
Showing only changes of commit 74cd192c8a - Show all commits

View File

@ -34,14 +34,14 @@ namespace OWTrack
private string Version = Program.Version.ToString();
public MainForm()
{
{
InitializeComponent();
tr = new Tracker();
tr = new Tracker();
loadSave();
checkStatus();
update();
label4.Text = Version;
Text = "OWTrack " + Version;
Text = "OWTrack " + Version;
}
private void checkStatus()

View File

@ -29,7 +29,7 @@ namespace OWTrack
class Tracker
{
public int wins, losses, startSR, newSR, totalMatches = 0;
public void addWin() => wins++;
public void addLoss() => losses++;
public void reduceWin() => wins--;
@ -65,7 +65,7 @@ namespace OWTrack
sessions.Clear();
StartNewSeission();
}
public void StartNewSeission()
{
Session ses = new Session(startSR);
@ -178,7 +178,7 @@ namespace OWTrack
public int SkillChange;
public int StartSR;
public DateTime date;
public List<Match> Matches = new List<Match>();
public List<Match> Matches = new List<Match>();
/// <summary>
/// Start a new session with a starting Skill Rating