Exemple #1
0
        public NetworkWouldYouRather(string guid, string owner)
        {
            GUID  = guid;
            Owner = owner;

            ActiveQuestion      = new NetworkWouldYouRatherQuestion();
            ActiveQuestionVotes = new Dictionary <string, string>();
        }
Exemple #2
0
 public void StartNewQuestion(NetworkWouldYouRatherQuestion question)
 {
     ActiveQuestion      = question;
     ActiveQuestionVotes = NetworkManager.Instance.ActiveRoom.Players.ToDictionary(player => player.Key, player => "");
 }