Erster Login versuch
This commit is contained in:
+5
-2
@@ -11,19 +11,22 @@ namespace Casino
|
||||
public string ID { get; }
|
||||
public string Name { get; set; }
|
||||
public int Alter { get; set; }
|
||||
public string Passwort { get; set; }
|
||||
public int Geld { get; set; }
|
||||
public User(string n, int a)
|
||||
public User(string n, int a, string p)
|
||||
{
|
||||
ID = ID_Generation();
|
||||
Name = n;
|
||||
Alter = a;
|
||||
Passwort = p;
|
||||
Geld = 1000;
|
||||
}
|
||||
public User(string id, string n, int a, int g)
|
||||
public User(string id, string n, int a,string p, int g)
|
||||
{
|
||||
ID = id;
|
||||
Name = n;
|
||||
Alter = a;
|
||||
Passwort = p;
|
||||
Geld = g;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user