Erster Login versuch

This commit is contained in:
NBTEMP\bib
2026-08-20 15:38:35 +02:00
parent 32d51bd432
commit 279ea709cd
4 changed files with 93 additions and 2 deletions
+5 -2
View File
@@ -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;
}