/// <summary>
 ///     Adds a technology to the database without checking if it could be unlocked.
 /// </summary>
 /// <param name="technology"></param>
 public void AddTechnology(TechnologyPrototype technology)
 {
     _technologies.Add(technology);
 }
示例#2
0
 public bool CanUnlockTechnology(TechnologyPrototype technology)
 {
     return(TechnologyDatabase.CanUnlockTechnology(technology));
 }
示例#3
0
 public bool IsTechnologyUnlocked(TechnologyPrototype technology)
 {
     return(TechnologyDatabase.IsTechnologyUnlocked(technology));
 }
 public bool CanUnlockTechnology(TechnologyPrototype technology)
 {
     return(_technologyDatabase?.CanUnlockTechnology(technology) ?? false);
 }
 public bool IsTechnologyUnlocked(TechnologyPrototype technology)
 {
     return(_technologyDatabase?.IsTechnologyUnlocked(technology) ?? false);
 }
 /// <summary>
 ///     Adds a technology to the database without checking if it could be unlocked.
 /// </summary>
 /// <param name="technology"></param>
 public void AddTechnology(TechnologyDatabaseComponent component, TechnologyPrototype technology)
 {
     component.Technologies.Add(technology);
 }