Snaparazzi/Assets/Scripts/DatabaseClasses/Room.cs
2024-01-27 19:58:02 +01:00

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;
}
}