private void IndividualCharacter() { BlackOut.Visibility = Visibility.Visible; CustomizeWindowGrid.Visibility = Visibility.Visible; tempName = NameBox.Text = ""; tempGender = true; tempJobRole = "Software Engineer"; tempHero = new SoftwareEngineer(tempName, tempGender); tempPhoto.Source = tempHero.CharacterPortrait; MaleButton.Style = red; FemaleButton.Style = blank; SoftwareEngineerButton.Style = red; SupportEngineerButton.Style = blank; SystemsAnalystButton.Style = blank; NetworkArchitectButton.Style = blank; InformationSecurityButton.Style = blank; JobDescription.SelectAll(); JobDescription.Selection.Text = ("Software Engineer:\nThey have the highest health and defense in the game." + "They have the slowest movement in the game."); }
private void NetworkArchitectButton_Click(object sender, RoutedEventArgs e) { tempJobRole = "Network Architect"; SoftwareEngineerButton.Style = blank; SupportEngineerButton.Style = blank; SystemsAnalystButton.Style = blank; NetworkArchitectButton.Style = red; InformationSecurityButton.Style = blank; tempHero = new NetworkArchitect(tempName, tempGender); tempPhoto.Source = tempHero.CharacterPortrait; JobDescription.SelectAll(); JobDescription.Selection.Text = ("Network Architect:\nFarthest range in the game with great offense as well."); }
private void SystemsAnalystButton_Click(object sender, RoutedEventArgs e) { tempJobRole = "Systems Analyst"; SoftwareEngineerButton.Style = blank; SupportEngineerButton.Style = blank; SystemsAnalystButton.Style = red; NetworkArchitectButton.Style = blank; InformationSecurityButton.Style = blank; tempHero = new SystemsAnalyst(tempName, tempGender); tempPhoto.Source = tempHero.CharacterPortrait; JobDescription.SelectAll(); JobDescription.Selection.Text = ("Systems Analyst:\nModerate range and damage. This hero can attack groups of enemies."); }
private void SupportEngineerButton_Click(object sender, RoutedEventArgs e) { tempJobRole = "Support Engineer"; SoftwareEngineerButton.Style = blank; SupportEngineerButton.Style = red; SystemsAnalystButton.Style = blank; NetworkArchitectButton.Style = blank; InformationSecurityButton.Style = blank; tempHero = new SupportEngineer(tempName, tempGender); tempPhoto.Source = tempHero.CharacterPortrait; JobDescription.SelectAll(); JobDescription.Selection.Text = ("Support Engineer:\nHolds moderate stats. This hero sacrifices offense for a more supportive role."); }
private void InformationSecurityButton_Click(object sender, RoutedEventArgs e) { tempJobRole = "Information Security"; SoftwareEngineerButton.Style = blank; SupportEngineerButton.Style = blank; SystemsAnalystButton.Style = blank; NetworkArchitectButton.Style = blank; InformationSecurityButton.Style = red; tempHero = new InformationSecurity(tempName, tempGender); tempPhoto.Source = tempHero.CharacterPortrait; JobDescription.SelectAll(); JobDescription.Selection.Text = ("Information Security:\nWeakest defense in the game but make up for it in" + "movement speed and evasion."); }
private void SoftwareEngineerButton_Click(object sender, RoutedEventArgs e) { tempJobRole = "Software Engineer"; SoftwareEngineerButton.Style = red; SupportEngineerButton.Style = blank; SystemsAnalystButton.Style = blank; NetworkArchitectButton.Style = blank; InformationSecurityButton.Style = blank; tempHero = new SoftwareEngineer(tempName, tempGender); tempPhoto.Source = tempHero.CharacterPortrait; JobDescription.SelectAll(); JobDescription.Selection.Text = ("Software Engineer:\nThey have the highest health and defense in the game." + "They have the slowest movement in the game."); }