[ADDED] User the shared project + integrated it with the other classes

This commit is contained in:
Lars
2020-10-19 22:32:50 +02:00
parent 53c8a435a3
commit 0b12e530aa
4 changed files with 83 additions and 29 deletions

View File

@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace SharedClientServer
{
class User
{
private string _username;
private int _score;
public User(string username, int score)
{
_username = username;
_score = score;
}
public string Username
{
get { return _username; }
set { _username = value; }
}
public int Score
{
get { return _score; }
set { _score = value; }
}
}
}