public Answer(Question question, Game game, string value) : this() { this.Question = question; this.Game = game; this.Value = value; }
public static string TranslateCheckpoint(Game.Checkpoint checkpoint) { string translation = string.Empty; switch (checkpoint) { case Game.Checkpoint.CharacterCreation: translation = "Criação de Personagens"; break; case Game.Checkpoint.ThemeSelection: translation = "Escolha do Tema"; break; case Game.Checkpoint.Planning: translation = "Planeamento"; break; case Game.Checkpoint.City: translation = "Cidade"; break; case Game.Checkpoint.Review: translation = "Revisão"; break; case Game.Checkpoint.Party: translation = "Festa"; break; default: translation = "Sem Informação"; break; } return translation; }
public Action(int id, string description, Game game, Player player, DateTime time) : this(id, description, game, player) { this.Time = time; }
public Action(int id, string description, Game game, Player player) : this(description, game, player) { this.Id = id; }
public Action(string description, Game game, Player player) : this(description, game) { this.Player = player; }
public Action(string description, Game game) : this() { this.Description = description; this.Game = game; }
public void Initialize() { this.Guests.Clear(); GameManager gameManager = GameManager.Instance; if (gameManager.UseDatabase) { Game game = gameManager.Entity.GamesTable.Get("DefaultGame"); if (game == null) { game = new Game("DefaultGame"); game.CreateGuests(); game.LoadLikes(); gameManager.Entity.GamesTable.Add(game); } this.Budget = game.Budget; this.Time = game.Time; this.TimeConsumption = game.TimeConsumption; CreateGuests(game.Guests); LoadLikes(game.Guests); } else { CreateGuests(); LoadLikes(); } }
public Answer(int id, Question question, Game game, Player player, string value) : this(question, game, player, value) { this.Id = id; }
public Answer(Question question, Game game, Player player, string value) : this(question, game, value) { this.Player = player; }