public static void MakePlayer(string name, SolidColorBrush color, List<EnumAttacks> playerAttacks)
 {
     _thisPlayer = new Player(name, color, playerAttacks);
 }
Beispiel #2
0
 public static Player getInstance()
 {
     return _thisPlayer ?? (_thisPlayer = new Player());
 }