diff options
author | TrueDoctor <d-kobert@web.de> | 2018-09-27 21:02:07 +0200 |
---|---|---|
committer | TrueDoctor <d-kobert@web.de> | 2018-09-27 21:02:07 +0200 |
commit | 39da0da55a09a56bae3c250e6108c8edf77bfbfd (patch) | |
tree | 05dc756c6e5f65d5a190ce6524c307fe753279e9 /DSACore/DSA_Game/Dsa.cs | |
parent | 4f535d76f32ef369abe37560594ef1a702e47d64 (diff) |
fixed some stuff
Diffstat (limited to 'DSACore/DSA_Game/Dsa.cs')
-rw-r--r-- | DSACore/DSA_Game/Dsa.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/DSACore/DSA_Game/Dsa.cs b/DSACore/DSA_Game/Dsa.cs index ff74788..7258e8c 100644 --- a/DSACore/DSA_Game/Dsa.cs +++ b/DSACore/DSA_Game/Dsa.cs @@ -13,6 +13,8 @@ namespace DSACore.DSA_Game public static class Dsa { + public const string rootPath = "DiscoBot\\DSACore\\"; + private static Session s_session; public static List<ICharacter> Chars { get; set; } = new List<ICharacter>(); // list of all characters @@ -37,6 +39,8 @@ namespace DSACore.DSA_Game } } + public static void start(){} + public static void Startup() { //new .Auxiliary.Calculator.StringSolver("1d100 - (1d200 + 1) * -50000").Solve(); @@ -49,8 +53,8 @@ namespace DSACore.DSA_Game .Where(c => !Talente.Exists(v => v.Name.Equals(c.Name))).ToList().ForEach(v => Talente.Add(v)); } - Properties.Deserialize(); - Properties.Serialize(); + Properties.Deserialize(rootPath+"Properties"); + Properties.Serialize(rootPath + "Properties"); Talente = Talente.OrderBy(x => x.Name).ToList(); Session = new Session |