/// <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); }
public bool CanUnlockTechnology(TechnologyPrototype technology) { return(TechnologyDatabase.CanUnlockTechnology(technology)); }
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); }