Пример #1
0
 public static EventManager GetInstance()
 {
     if(_eventManagerInstance == null)
     {
         _eventManagerInstance = new EventManager();
     }
     return _eventManagerInstance;
 }
Пример #2
0
 public Board()
 {
     NbRound = 0;
     Players = new List<Player>();
     EndOfTurn = false;
     CountAnwser = 0;
     CountAnwserStandbyFor = 0;
     EventManager = new EventManager();
     Deck = CardFactory.GenerateDeck();
 }