Skip to content

Commit

Permalink
Add Settings
Browse files Browse the repository at this point in the history
  • Loading branch information
cawk committed Jul 31, 2016
1 parent b5cd547 commit e840dbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PoGo.NecroBot.Logic/ILogicSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ public interface ILogicSettings
int KeepMinDuplicatePokemon { get; }
bool PrioritizeIvOverCp { get; }
int AmountOfTimesToUpgradeLoop { get; }

int GetMinStarDustForLevelUp { get; }
int MaxTravelDistanceInMeters { get; }
bool UseGpxPathing { get; }
string GpxFile { get; }
Expand Down
2 changes: 2 additions & 0 deletions PoGo.NecroBot.Logic/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public class GlobalSettings

public bool AutomaticallyLevelUpPokemon = false;
public int AmountOfTimesToUpgradeLoop = 5;
public int GetMinStarDustForLevelUp = 5000;

public bool AutoUpdate = true;
public double DefaultAltitude = 10;
Expand Down Expand Up @@ -584,6 +585,7 @@ public LogicSettings(GlobalSettings settings)
public bool AutomaticallyLevelUpPokemon => _settings.AutomaticallyLevelUpPokemon;
public int AmountOfTimesToUpgradeLoop => _settings.AmountOfTimesToUpgradeLoop;
public string LevelUpByCPorIv => _settings.LevelUpByCPorIv;
public int GetMinStarDustForLevelUp => _settings.GetMinStarDustForLevelUp;
public float UpgradePokemonIvMinimum => _settings.UpgradePokemonIvMinimum;
public float UpgradePokemonCpMinimum => _settings.UpgradePokemonCpMinimum;
public double WalkingSpeedInKilometerPerHour => _settings.WalkingSpeedInKilometerPerHour;
Expand Down

0 comments on commit e840dbc

Please sign in to comment.