23 lines
467 B
C#
23 lines
467 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
[Serializable]
|
|
public class Room
|
|
{
|
|
public string code;
|
|
public List<Question> questions;
|
|
public List<Player> players;
|
|
public int currentQuestion;
|
|
public double creationDate;
|
|
|
|
|
|
public Room(string _code)
|
|
{
|
|
code = _code;
|
|
creationDate = DateTime.Now.ToOADate();
|
|
players = new List<Player>();
|
|
questions = new List<Question>();
|
|
currentQuestion = 0;
|
|
}
|
|
}
|