public bool BeginResearch(Research research) { var success = !ResearchedTechnologies.Contains(research) && (research == System.RootResearch || ResearchedTechnologies.Any(r => r.Children.Contains(research))); if (success) { CurrentResearch = research; } return(success); }
public ResearchSystem(Research rootResearch) { RootResearch = rootResearch; }