public Server() : base() { //Setup game settings Window.AllowUserResizing = true; DebugRenderEnabled = true; PauseOnFocusLost = false; IsFixedTimeStep = true; TargetElapsedTime = TimeSpan.FromSeconds(1f / 144f); ItemContainer.GenerateItems(); AbilityContainer.LoadAbilities(); //setup constant values //Getting credentials from file CredentialInfo credentialInfo = FileManager.GetCredentialInformation("Credentials.json"); ConstantValues.ConnectionID = credentialInfo.ID; ConstantValues.ConnectionCredential = credentialInfo.ConnectionCredential; ConstantValues.ServerString = credentialInfo.ServerString; ConstantValues.Port = credentialInfo.Port; }