public SoulJarModifier(Sprite icon, float hpGen, float mpGen, int souls = default) { _souls = souls; _hpGenPerSoul = hpGen; _mpGenPerSoul = mpGen; _view = new ModifierView() { Icon = icon }; }
private void Open(object obj) { var parameter = (string)obj; if (parameter == "Modifier") { PageContent = new ModifierView(fileSelector); } else if (parameter == "Home") { PageContent = new HomeView(); } else if (parameter == "AboutDEV") { PageContent = new AboutDEVView(); } else if (parameter == "Snippets") { PageContent = new SnippetsView(); } DrawerHost.CloseDrawerCommand.Execute(null, null); }