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