diff --git a/src/App.java b/src/App.java index e8df5c2..8e2f763 100644 --- a/src/App.java +++ b/src/App.java @@ -1,3 +1,5 @@ +package src; + public class App { public static void main(String[] args) { diff --git a/src/AppTheme.java b/src/AppTheme.java deleted file mode 100644 index 51e336f..0000000 --- a/src/AppTheme.java +++ /dev/null @@ -1,28 +0,0 @@ -import java.awt.*; - -public interface AppTheme { - - public Color lightAccent = Color.decode("#EAF0CE"); - public Color lightBrown = Color.decode("#EBBE9B"); - public Color medBrown = Color.decode("#E4A677"); - - public Color darkBrown = Color.decode("#502419"); - - public Color darkestBrown = Color.decode("#1F0E0A"); - - public Color black = Color.BLACK; - - public Color confirmationBlue = Color.decode("#296EB4"); - - public Color rejectionRed = Color.decode("#A23E48"); - - public Font headerFont = new Font("SanSalvi", Font.BOLD, 45); - public Font subHeaderFont = new Font("SanSalvi", Font.PLAIN, 35); - - public Font paragraphFont = new Font("SanSalvi", Font.PLAIN, 20); - public Font userTextFont = new Font("SanSalvi", Font.PLAIN, 15); - public Font buttonFont = new Font("SanSalvi", Font.PLAIN, 15); - - public String OS = System.getProperty("os.name"); - -} diff --git a/src/Background.java b/src/Background.java index 4126352..c3415e2 100644 --- a/src/Background.java +++ b/src/Background.java @@ -1,3 +1,5 @@ +package src; + public class Background { int backgroundIndex; diff --git a/src/BasicNavPanel.java b/src/BasicNavPanel.java index a3f8db0..beed543 100644 --- a/src/BasicNavPanel.java +++ b/src/BasicNavPanel.java @@ -1,9 +1,13 @@ +package src; + import javax.swing.*; import javax.swing.border.EmptyBorder; import javax.swing.border.LineBorder; import java.awt.*; -public class BasicNavPanel extends JPanel implements AppTheme { +import static src.AppConstants.*; + +public class BasicNavPanel extends JPanel { private DefaultButton backButton; private DefaultButton continueButton; diff --git a/src/BasicPanel.java b/src/BasicPanel.java index 93ef3b6..e8dd36c 100644 --- a/src/BasicPanel.java +++ b/src/BasicPanel.java @@ -1,13 +1,20 @@ +package src; + import javax.swing.*; import java.awt.*; -public class BasicPanel extends JPanel implements AppTheme { +import static src.AppConstants.*; +import static src.ImageManager.*; + +public class BasicPanel extends JPanel { private DefaultButton[] optionButtons; private String[] options; - private ImageInfoPanel infoPanel; + private InfoPanel infoPanel; private int choiceIndex; private String panelTitle; + private ImageManager images; + private int currentPanel; public BasicPanel(JPanel navPanel, String[] options, String[] descriptions, String panelTitle) { @@ -24,8 +31,13 @@ public class BasicPanel extends JPanel implements AppTheme { }; - this.infoPanel = new ImageInfoPanel(options, descriptions, basicBounds, Integer.parseInt(Character.toString(panelTitle.charAt(5)))); - infoPanel.updateInfo(0); // Default start with 0th element. + images = new ImageManager(); + + infoPanel = new InfoPanel(options, descriptions, basicBounds, images); + + currentPanel = Integer.parseInt(Character.toString(panelTitle.charAt(5))); + + infoPanel.updateInfo(0, getNextPortrait(0)); choiceIndex = 0; @@ -35,6 +47,28 @@ public class BasicPanel extends JPanel implements AppTheme { } + private JLabel getNextPortrait(int index) { + + JLabel nextPortrait; + + if(currentPanel == 1) { + + nextPortrait = images.getRacePortrait(index); + + } else if(currentPanel == 2) { + + nextPortrait = images.getClassPortrait(index); + + } else { + + nextPortrait = null; + + } + + return nextPortrait; + + } + private void panelSetup() { setBackground(lightBrown); @@ -108,7 +142,16 @@ public class BasicPanel extends JPanel implements AppTheme { optionButtons[newIndex].select(); choiceIndex = newIndex; - infoPanel.updateInfo(choiceIndex); + + if(currentPanel == 1 || currentPanel == 2) { + + infoPanel.updateInfo(choiceIndex, getNextPortrait(choiceIndex)); + + } else { + + infoPanel.updateInfo(choiceIndex); + + } } diff --git a/src/CharacterSheet.java b/src/CharacterSheet.java index 6d600a7..aa75cd9 100644 --- a/src/CharacterSheet.java +++ b/src/CharacterSheet.java @@ -1,3 +1,5 @@ +package src; + import java.io.Serializable; public class CharacterSheet implements Serializable { diff --git a/src/CharacterStats.java b/src/CharacterStats.java index 7237cae..0fcbea6 100644 --- a/src/CharacterStats.java +++ b/src/CharacterStats.java @@ -1,3 +1,5 @@ +package src; + import java.io.Serializable; public class CharacterStats implements Serializable { diff --git a/src/Charisma.java b/src/Charisma.java index a749f21..2046406 100644 --- a/src/Charisma.java +++ b/src/Charisma.java @@ -1,3 +1,5 @@ +package src; + import java.io.Serializable; public class Charisma extends Stats implements Serializable { diff --git a/src/ChooseAbilityScoresPanel.java b/src/ChooseAbilityScoresPanel.java index b43375f..1a156d0 100644 --- a/src/ChooseAbilityScoresPanel.java +++ b/src/ChooseAbilityScoresPanel.java @@ -1,8 +1,12 @@ +package src; + import javax.swing.*; import javax.swing.border.LineBorder; import java.awt.*; -public class ChooseAbilityScoresPanel extends JPanel implements AppTheme { +import static src.AppConstants.*; + +public class ChooseAbilityScoresPanel extends JPanel { private DefaultButton[] statInfoButtons; private JLabel[] statLabels; @@ -30,7 +34,7 @@ public class ChooseAbilityScoresPanel extends JPanel implements AppTheme { }; - infoPanel = new InfoPanel(statOptions, statDescriptions, abilityScoreBounds, 3); + infoPanel = new InfoPanel(statOptions, statDescriptions, abilityScoreBounds); infoPanel.updateInfo(0); // Default start with 0th element. createMasterPanel(panelTitle); @@ -82,13 +86,13 @@ public class ChooseAbilityScoresPanel extends JPanel implements AppTheme { private JPanel createAbilityPanel(String ability, int statIndex) { JPanel panel = new JPanel(); - panel.setFont(paragraphFont); + panel.setFont(paragraphText); panel.setBackground(medBrown); panel.setBorder(new LineBorder(darkestBrown, 4, true)); panel.setLayout(new BorderLayout(0, 0)); DefaultButton tmpButton = new DefaultButton(ability); - tmpButton.setFont(paragraphFont); + tmpButton.setFont(paragraphText); tmpButton.setHorizontalAlignment(SwingConstants.CENTER); tmpButton.addActionListener(e -> updateButtons(statIndex)); @@ -107,7 +111,7 @@ public class ChooseAbilityScoresPanel extends JPanel implements AppTheme { JPanel subPanel = new JPanel(); JLabel scoreLabel = new JLabel("" + selectedStats[statIndex]); - scoreLabel.setFont(paragraphFont); + scoreLabel.setFont(paragraphText); scoreLabel.setHorizontalAlignment(SwingConstants.CENTER); statLabels[statIndex] = scoreLabel; diff --git a/src/ClassTemplate.java b/src/ClassTemplate.java index c71be82..ae285c2 100644 --- a/src/ClassTemplate.java +++ b/src/ClassTemplate.java @@ -1,3 +1,5 @@ +package src; + public interface ClassTemplate { abstract String getDescription(); diff --git a/src/Cleric.java b/src/Cleric.java index 03ecb36..8dc0772 100644 --- a/src/Cleric.java +++ b/src/Cleric.java @@ -1,3 +1,5 @@ +package src; + public class Cleric implements ClassTemplate { private int HP; diff --git a/src/Constitution.java b/src/Constitution.java index 6eec31c..ab5d2e0 100644 --- a/src/Constitution.java +++ b/src/Constitution.java @@ -1,3 +1,5 @@ +package src; + import java.io.Serializable; public class Constitution extends Stats implements Serializable { diff --git a/src/DefaultButton.java b/src/DefaultButton.java index 70cec50..53ea56a 100644 --- a/src/DefaultButton.java +++ b/src/DefaultButton.java @@ -1,9 +1,13 @@ +package src; + import javax.swing.*; import javax.swing.border.EmptyBorder; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; -public class DefaultButton extends JButton implements AppTheme { +import static src.AppConstants.*; + +public class DefaultButton extends JButton { private boolean selected; diff --git a/src/DescriptionPanel.java b/src/DescriptionPanel.java index 83d296f..9096133 100644 --- a/src/DescriptionPanel.java +++ b/src/DescriptionPanel.java @@ -1,9 +1,13 @@ +package src; + import javax.swing.*; import javax.swing.border.EmptyBorder; import javax.swing.border.LineBorder; import java.awt.*; -public class DescriptionPanel extends JPanel implements AppTheme { +import static src.AppConstants.*; + +public class DescriptionPanel extends JPanel { private BasicNavPanel nav; private String[] characteristics; @@ -137,12 +141,12 @@ public class DescriptionPanel extends JPanel implements AppTheme { panel.setOpaque(false); JLabel label = new JLabel(characteristicsHolder[index]); - label.setFont(paragraphFont); + label.setFont(paragraphText); label.setOpaque(false); label.setForeground(darkestBrown); JTextField field = new JTextField(10); - field.setFont(paragraphFont); + field.setFont(paragraphText); field.setBackground(lightBrown); field.setBorder(null); @@ -219,13 +223,13 @@ public class DescriptionPanel extends JPanel implements AppTheme { panel.setOpaque(false); JLabel label = new JLabel("Enter a Description"); - label.setFont(paragraphFont); + label.setFont(paragraphText); label.setOpaque(false); label.setForeground(darkestBrown); JTextArea textArea = new JTextArea(); textArea.setForeground(darkestBrown); - textArea.setFont(userTextFont); + textArea.setFont(userText); textArea.setOpaque(false); textArea.setBorder(new LineBorder(darkestBrown, 3)); diff --git a/src/Dexterity.java b/src/Dexterity.java index 81973d9..fd7f4b8 100644 --- a/src/Dexterity.java +++ b/src/Dexterity.java @@ -1,3 +1,5 @@ +package src; + import java.io.Serializable; public class Dexterity extends Stats implements Serializable { diff --git a/src/Dragonborn.java b/src/Dragonborn.java index 9e4413a..9e75281 100644 --- a/src/Dragonborn.java +++ b/src/Dragonborn.java @@ -1,3 +1,5 @@ +package src; + public class Dragonborn implements Race { private final int speed = 30; private final int maxAge = 80; diff --git a/src/Dwarf.java b/src/Dwarf.java index 84e2ab7..e6a178e 100644 --- a/src/Dwarf.java +++ b/src/Dwarf.java @@ -1,3 +1,5 @@ +package src; + public class Dwarf implements Race { private final int speed = 25; private final int maxAge = 350; diff --git a/src/Elf.java b/src/Elf.java index 88fb995..4da35d7 100644 --- a/src/Elf.java +++ b/src/Elf.java @@ -1,3 +1,5 @@ +package src; + import java.io.Serializable; public class Elf implements Race, Serializable { diff --git a/src/ExportPDF.java b/src/ExportPDF.java deleted file mode 100644 index 373f857..0000000 --- a/src/ExportPDF.java +++ /dev/null @@ -1,8 +0,0 @@ -public class ExportPDF { - - public ExportPDF() { - - - } - -} diff --git a/src/Fighter.java b/src/Fighter.java index 0b2b7c9..80354eb 100644 --- a/src/Fighter.java +++ b/src/Fighter.java @@ -1,3 +1,5 @@ +package src; + import java.io.Serializable; public class Fighter implements ClassTemplate, Serializable { diff --git a/src/FileManager.java b/src/FileManager.java index ee67ff5..1855790 100644 --- a/src/FileManager.java +++ b/src/FileManager.java @@ -1,7 +1,11 @@ +package src; + import java.awt.*; import java.io.*; import java.util.*; +import static src.AppConstants.*; + public class FileManager { private String filepath; @@ -12,8 +16,6 @@ public class FileManager { public FileManager() { - filepath = System.getProperty("user.dir"); - saveFiles = new ArrayList<>(); setSaveFiles(); @@ -22,11 +24,11 @@ public class FileManager { } - public String getOSFilepath() { + public int getNumSaves() { - return filepath; + return saveFiles.size(); - } + } public boolean isReturningUser() { @@ -63,11 +65,11 @@ public class FileManager { GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); - ge.registerFont(Font.createFont(Font.TRUETYPE_FONT, new File(filepath + "/.resources/SanSalvi.ttf"))); + ge.registerFont(Font.createFont(Font.TRUETYPE_FONT, new File(fontFilepath))); } catch(IOException | FontFormatException e) { - System.out.println("Filepath of font not found: " + filepath + "/.resources/SanSalvi.ttf does not exist."); + System.out.println("Filepath of font not found: " + fontFilepath + " does not exist."); } @@ -75,7 +77,7 @@ public class FileManager { private void setSaveFiles() { - File[] tmp = new File(filepath + "/.savedSheets/").listFiles(); + File[] tmp = new File(savesFilepath).listFiles(); if(tmp != null) { @@ -107,8 +109,6 @@ public class FileManager { CharacterSheet sheet = null; - System.out.println("filepath: " + file.getPath()); - try { FileInputStream fileIn = new FileInputStream(file.getPath()); @@ -134,20 +134,16 @@ public class FileManager { try( - FileOutputStream fileOut = new FileOutputStream(filepath + "/.savedSheets/" + sheet.getName() + ".dnd"); + FileOutputStream fileOut = new FileOutputStream(savesFilepath + sheet.getName() + ".dnd"); ObjectOutputStream objOut = new ObjectOutputStream(fileOut); ) { - System.out.println("Inside saving char method."); - objOut.writeObject(sheet); setSaveFiles(); -System.out.println("Object written to file."); - } catch (IOException e) { System.out.println("ERROR: "); diff --git a/src/GUImanager.java b/src/GUImanager.java index a33e95c..663bf43 100644 --- a/src/GUImanager.java +++ b/src/GUImanager.java @@ -1,7 +1,11 @@ +package src; + import javax.swing.*; import java.awt.*; import java.util.*; +import src.AppConstants.*; + public class GUImanager extends JFrame { private FileManager fileManager; diff --git a/src/Gnome.java b/src/Gnome.java index 409c106..0c76921 100644 --- a/src/Gnome.java +++ b/src/Gnome.java @@ -1,3 +1,5 @@ +package src; + public class Gnome implements Race { private final int speed = 25; private final int maxAge = 500; diff --git a/src/HalfElf.java b/src/HalfElf.java index 6da8ae6..c6b0171 100644 --- a/src/HalfElf.java +++ b/src/HalfElf.java @@ -1,3 +1,5 @@ +package src; + public class HalfElf implements Race { private final int speed = 30; private final int maxAge = 180; diff --git a/src/HalfOrc.java b/src/HalfOrc.java index 22adb2a..4031280 100644 --- a/src/HalfOrc.java +++ b/src/HalfOrc.java @@ -1,3 +1,5 @@ +package src; + public class HalfOrc implements Race { private final int speed = 30; private final int maxAge = 75; diff --git a/src/Halfling.java b/src/Halfling.java index b311644..fc58e32 100644 --- a/src/Halfling.java +++ b/src/Halfling.java @@ -1,3 +1,5 @@ +package src; + public class Halfling implements Race { private final int speed = 30; private final int maxAge = 750; diff --git a/src/Human.java b/src/Human.java index 8945a60..948e486 100644 --- a/src/Human.java +++ b/src/Human.java @@ -1,3 +1,5 @@ +package src; + public class Human implements Race { private final int speed = 30; diff --git a/src/ImageInfoPanel.java b/src/ImageInfoPanel.java deleted file mode 100644 index 283911c..0000000 --- a/src/ImageInfoPanel.java +++ /dev/null @@ -1,178 +0,0 @@ -import javax.imageio.ImageIO; -import javax.swing.*; -import java.awt.*; -import java.awt.image.BufferedImage; -import java.io.File; -import java.util.Objects; -import java.util.Random; - -public class ImageInfoPanel extends InfoPanel implements AppTheme { - - private JLabel[][] portraits; - private int lastIndex; - - //private JLabel[] savesPortraits; - - //private int numSaveCharacters; - -// TODO: Need to implement -/* - public ImageInfoPanel(int panelIndex, int numSaveCharacters) { - - super(panelIndex); - - this.numSaveCharacters = numSaveCharacters; - this.characterName = characterName; - - createSavesPortraits(); - - } -*/ - public ImageInfoPanel(String[] categoryHolder, String[] holderDescriptions, Rectangle[] bounds, int panelIndex) { - - super(categoryHolder, holderDescriptions, bounds, panelIndex); - createPortraits(); - - } - - @Override - public void updateInfo(int holderIndex) { - - super.updateInfo(holderIndex, portraits[holderIndex][getNextPortrait(holderIndex)]); - - } - - private int getNextPortrait(int holderIndex) { - - Random ran = new Random(); - int bound = portraits[holderIndex].length; - int newIndex = ran.nextInt(bound); - -/* while(newIndex == lastIndex) { - - newIndex = ran.nextInt(bound); - - }*/ - - lastIndex = newIndex; - - return newIndex; - - } - - // TODO: Need to create a separate class/refactor ImageInfoPanel to be multi-purpose. -/* - private void createSavesPortraits() { - - File imagesDir; - - imagesDir = new File("Img/.savesPortraits").listFiles(); - - savesPortraits = new JLabel[imagesDir.length); - - int index = 0; - - for(File file : imagesDir) { - - savesPortraits[index] = image(file); - savesPortraits[index].setOpaque(true); - savesPortraits[index].setBackground(lightBrown); - savesPortraits[index].setBounds(bounds[3]); - - index++; - - } - - } -*/ - private void createPortraits() { - - String category = ""; - - if (panelIndex == 1) { - - category = "Races"; - - } else if (panelIndex == 2) { - - category = "Classes"; - - } - - portraits = new JLabel[categoryHolder.length][]; - - for (int i = 0; i < categoryHolder.length; i++) { - - File imagesDir; - - if (OS.startsWith("Windows")) { - - imagesDir = new File("dndBuilder\\src\\Resources\\Img\\" + category + "\\" + categoryHolder[i].toLowerCase() + "\\"); - - } else if (OS.startsWith("Mac")) { - - imagesDir = new File("dndBuilder/src/Resources/Img/" + category + "/" + categoryHolder[i].toLowerCase() + "/"); - - } else if (OS.startsWith("Linux")) { - imagesDir = new File("Img/" + category + "/" + categoryHolder[i].toLowerCase()); - - } else { - - System.out.println("Unable to detect operating system."); - return; - - } - - File[] dir = imagesDir.listFiles(); - portraits[i] = new JLabel[dir.length]; - int index = 0; - - for (File file : dir) { - portraits[i][index] = image(file); - portraits[i][index].setOpaque(true); - portraits[i][index].setBackground(lightBrown); - portraits[i][index].setBounds(bounds[3]); - - index++; - } - - - } - - - } - - private JLabel image(File file) { - - BufferedImage img; - Image finalImg; - JLabel picture; - - try { - - img = ImageIO.read(file); - finalImg = img.getScaledInstance(250, 375, Image.SCALE_SMOOTH); - - } catch (Exception e) { - - System.out.println("Error reading file."); - img = null; - finalImg = null; - - } - - if (Objects.isNull(finalImg)) { - - picture = new JLabel("ERROR: Image not found."); - - } else { - - picture = new JLabel(new ImageIcon(finalImg)); - - } - - return picture; - - } - -} diff --git a/src/InfoPanel.java b/src/InfoPanel.java index 64168dd..87b073e 100644 --- a/src/InfoPanel.java +++ b/src/InfoPanel.java @@ -1,22 +1,38 @@ +package src; + import javax.swing.*; import javax.swing.border.EmptyBorder; import java.awt.*; -public class InfoPanel extends JPanel implements AppTheme { +import static src.AppConstants.*; + +public class InfoPanel extends JPanel { protected JTextArea[] descriptions; protected Rectangle[] bounds; protected String[] holderDescriptions; protected String[] categoryHolder; - protected int panelIndex; + protected ImageManager images; - public InfoPanel(String[] categoryHolder, String[] holderDescriptions, Rectangle[] bounds, int panelIndex) { + public InfoPanel(String[] categoryHolder, String[] holderDescriptions, Rectangle[] bounds) { super(); this.categoryHolder = categoryHolder; this.holderDescriptions = holderDescriptions; this.bounds = bounds; - this.panelIndex = panelIndex; + + panelSetup(); + + createDescriptions(); + + } + + public InfoPanel(String[] categoryHolder, String[] holderDescriptions, Rectangle[] bounds, ImageManager images) { + + super(); + this.categoryHolder = categoryHolder; + this.holderDescriptions = holderDescriptions; + this.bounds = bounds; panelSetup(); @@ -76,7 +92,7 @@ public class InfoPanel extends JPanel implements AppTheme { tmpDesc.setOpaque(true); tmpDesc.setEditable(false); tmpDesc.setFocusable(false); - tmpDesc.setFont(paragraphFont); + tmpDesc.setFont(paragraphText); tmpDesc.setBounds(bounds[2]); tmpDesc.setBorder(new EmptyBorder(5, 5, 5, 5)); tmpDesc.setBackground(medBrown); diff --git a/src/Intelligence.java b/src/Intelligence.java index f955dea..3bc0f25 100644 --- a/src/Intelligence.java +++ b/src/Intelligence.java @@ -1,3 +1,5 @@ +package src; + import java.io.Serializable; public class Intelligence extends Stats implements Serializable { diff --git a/src/LoadCharacterPanel.java b/src/LoadCharacterPanel.java index bdcf3bd..7320817 100644 --- a/src/LoadCharacterPanel.java +++ b/src/LoadCharacterPanel.java @@ -1,8 +1,12 @@ +package src; + import javax.swing.*; import java.awt.*; import java.util.*; -public class LoadCharacterPanel extends JPanel implements AppTheme { +import static src.AppConstants.*; + +public class LoadCharacterPanel extends JPanel { private ArrayList savedCharacters; diff --git a/src/MainMenuPanel.java b/src/MainMenuPanel.java index c030fba..1b481d5 100644 --- a/src/MainMenuPanel.java +++ b/src/MainMenuPanel.java @@ -1,3 +1,5 @@ +package src; + import javax.swing.*; import javax.swing.border.BevelBorder; import javax.swing.border.EmptyBorder; @@ -5,7 +7,9 @@ import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; -public class MainMenuPanel extends JPanel implements AppTheme { +import static src.AppConstants.*; + +public class MainMenuPanel extends JPanel { private DefaultButton newCharacter; private DefaultButton randomCharacter; diff --git a/src/Race.java b/src/Race.java index b31daf3..423e1c2 100644 --- a/src/Race.java +++ b/src/Race.java @@ -1,3 +1,5 @@ +package src; + public interface Race { String getRace(); diff --git a/src/Skills.java b/src/Skills.java index 2affa16..e7bbc92 100644 --- a/src/Skills.java +++ b/src/Skills.java @@ -1,3 +1,5 @@ +package src; + /** * Object stores information about a character's skills arrays. Firstly, the name of each skill, and secondly the value of each skill. When constructed, a private method is called * which adds any proficiency bonus to each skill and then adds the ability score modifier to each skill. diff --git a/src/Stats.java b/src/Stats.java index 9273cba..dc22fd8 100644 --- a/src/Stats.java +++ b/src/Stats.java @@ -1,3 +1,5 @@ +package src; + public abstract class Stats { public int calcSavingThrow(int abilityScore) { diff --git a/src/Strength.java b/src/Strength.java index bdddabe..eded563 100644 --- a/src/Strength.java +++ b/src/Strength.java @@ -1,3 +1,5 @@ +package src; + import java.io.Serializable; public class Strength extends Stats implements Serializable { diff --git a/src/Tiefling.java b/src/Tiefling.java index 4b6107a..a90a8e7 100644 --- a/src/Tiefling.java +++ b/src/Tiefling.java @@ -1,3 +1,5 @@ +package src; + public class Tiefling implements Race { private final int speed = 30; private final int maxAge = 85; diff --git a/src/Wisdom.java b/src/Wisdom.java index 1c818fa..31c4b3c 100644 --- a/src/Wisdom.java +++ b/src/Wisdom.java @@ -1,3 +1,5 @@ +package src; + import java.io.Serializable; public class Wisdom extends Stats implements Serializable { diff --git a/src/Wizard.java b/src/Wizard.java index 2e61af6..76a2ee5 100644 --- a/src/Wizard.java +++ b/src/Wizard.java @@ -1,3 +1,5 @@ +package src; + public class Wizard implements ClassTemplate { private int HP; diff --git a/src/step4.java b/src/step4.java deleted file mode 100644 index a002ad3..0000000 --- a/src/step4.java +++ /dev/null @@ -1,277 +0,0 @@ -import javax.swing.*; -import javax.swing.border.BevelBorder; -import java.awt.*; -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; - -public class step4 extends JPanel implements AppTheme { - private JTextField nameTxtField; - private JTextField ageTextField; - private JTextField heightTxtField; - private JTextField weightTxtField; - private JTextField skinTxtField; - private JTextField eyesTxtField; - private JTextField hairTxtField; - - /** - * Create the panel. - */ - public step4() { - createEntirePanel(); - - - } - - private void createEntirePanel() { - setBackground(new Color(222, 184, 135)); - setBorder(new BevelBorder(BevelBorder.RAISED, new Color(160, 82, 45), new Color(165, 42, 42), new Color(0, 0, 0), null)); - setLayout(new BorderLayout(0, 0)); - - JLabel lblNewLabel = createLbl(); - add(lblNewLabel, BorderLayout.NORTH); - //Creates back and continue panel - JPanel backContPanel = createBackContinuePanel(); - add(backContPanel, BorderLayout.SOUTH); - - JPanel innerPanel = new JPanel(); - innerPanel.setToolTipText(""); - innerPanel.setOpaque(false); - add(innerPanel, BorderLayout.CENTER); - innerPanel.setLayout(null); - - JPanel nameAndAlignment = new JPanel(); - nameAndAlignment.setBorder(new BevelBorder(BevelBorder.LOWERED, null, null, null, null)); - nameAndAlignment.setBackground(new Color(210, 105, 30)); - nameAndAlignment.setBounds(6, 6, 306, 114); - innerPanel.add(nameAndAlignment); - nameAndAlignment.setLayout(null); - - JLabel nameLbl = new JLabel("Character Name: "); - nameLbl.setBounds(6, 6, 108, 16); - nameAndAlignment.add(nameLbl); - - nameTxtField = new JTextField(); - nameTxtField.setBounds(121, 1, 173, 26); - nameAndAlignment.add(nameTxtField); - nameTxtField.setColumns(10); - - JLabel ageLbl = new JLabel("Age: "); - ageLbl.setBounds(6, 34, 32, 16); - nameAndAlignment.add(ageLbl); - - ageTextField = new JTextField(); - ageTextField.setBounds(61, 34, 64, 21); - nameAndAlignment.add(ageTextField); - ageTextField.setColumns(10); - - JLabel heightLbl = new JLabel("Height: "); - heightLbl.setBounds(6, 62, 55, 16); - nameAndAlignment.add(heightLbl); - - heightTxtField = new JTextField(); - heightTxtField.setBounds(61, 57, 64, 26); - nameAndAlignment.add(heightTxtField); - heightTxtField.setColumns(10); - - JLabel weightLbl = new JLabel("Weight:"); - weightLbl.setBounds(6, 90, 61, 16); - nameAndAlignment.add(weightLbl); - - weightTxtField = new JTextField(); - weightTxtField.setBounds(61, 85, 64, 26); - nameAndAlignment.add(weightTxtField); - weightTxtField.setColumns(10); - - JLabel skinLbl = new JLabel("Skin: "); - skinLbl.setBounds(131, 34, 35, 16); - nameAndAlignment.add(skinLbl); - - skinTxtField = new JTextField(); - skinTxtField.setBounds(165, 29, 130, 26); - nameAndAlignment.add(skinTxtField); - skinTxtField.setColumns(10); - - JLabel eyesLbl = new JLabel("Eyes: "); - eyesLbl.setBounds(130, 62, 42, 16); - nameAndAlignment.add(eyesLbl); - - eyesTxtField = new JTextField(); - eyesTxtField.setBounds(164, 57, 130, 26); - nameAndAlignment.add(eyesTxtField); - eyesTxtField.setColumns(10); - - JLabel hairLbl = new JLabel("Hair: "); - hairLbl.setBounds(127, 90, 39, 16); - nameAndAlignment.add(hairLbl); - - hairTxtField = new JTextField(); - hairTxtField.setBounds(164, 85, 130, 26); - nameAndAlignment.add(hairTxtField); - hairTxtField.setColumns(10); - - JPanel alignmentPanel = new JPanel(); - alignmentPanel.setBorder(new BevelBorder(BevelBorder.LOWERED, null, null, null, null)); - alignmentPanel.setBackground(new Color(205, 133, 63)); - alignmentPanel.setBounds(324, 6, 396, 114); - innerPanel.add(alignmentPanel); - alignmentPanel.setLayout(new BorderLayout(0, 0)); - - JLabel alignmentLbl = new JLabel("Alignment"); - alignmentLbl.setFont(new Font("Lucida Grande", Font.PLAIN, 19)); - alignmentLbl.setHorizontalAlignment(SwingConstants.CENTER); - alignmentPanel.add(alignmentLbl, BorderLayout.NORTH); - - JPanel alignmentInnerPanel = new JPanel(); - alignmentInnerPanel.setOpaque(false); - alignmentPanel.add(alignmentInnerPanel, BorderLayout.CENTER); - alignmentInnerPanel.setLayout(new GridLayout(3, 3, 0, 0)); - - JButton btnLawfulGood = new JButton("Lawful Good"); - alignmentInnerPanel.add(btnLawfulGood); - - JButton btnNuetralGood = new JButton("Neutral Good"); - alignmentInnerPanel.add(btnNuetralGood); - - JButton btnChaoticGood = new JButton("Chaotic Good"); - alignmentInnerPanel.add(btnChaoticGood); - - JButton btnLawfulNeutral = new JButton("Lawful Neutral"); - alignmentInnerPanel.add(btnLawfulNeutral); - - JButton btnTrueNeutral = new JButton("True Neutral"); - alignmentInnerPanel.add(btnTrueNeutral); - - JButton btnChaoticNeutral = new JButton("Chaotic Neutral"); - alignmentInnerPanel.add(btnChaoticNeutral); - - JButton btnLawfulEvil = new JButton("Lawful Evil"); - alignmentInnerPanel.add(btnLawfulEvil); - - JButton btnNeutralEvil = new JButton("Neutral Evil"); - alignmentInnerPanel.add(btnNeutralEvil); - - JButton btnChaoticEvil = new JButton("Chaotic Evil"); - alignmentInnerPanel.add(btnChaoticEvil); - - JPanel backgroundPanel = new JPanel(); - backgroundPanel.setBorder(new BevelBorder(BevelBorder.LOWERED, null, null, null, null)); - backgroundPanel.setBackground(new Color(210, 105, 30)); - backgroundPanel.setBounds(6, 132, 306, 264); - innerPanel.add(backgroundPanel); - backgroundPanel.setLayout(new BorderLayout(0, 0)); - - JLabel backgroundLbl = new JLabel("Background"); - backgroundLbl.setFont(new Font("Dialog", Font.PLAIN, 20)); - backgroundLbl.setHorizontalAlignment(SwingConstants.CENTER); - backgroundPanel.add(backgroundLbl, BorderLayout.NORTH); - - JPanel backgroundInnerPanel = new JPanel(); - backgroundInnerPanel.setOpaque(false); - backgroundPanel.add(backgroundInnerPanel, BorderLayout.CENTER); - backgroundInnerPanel.setLayout(new GridLayout(9, 2, 0, 0)); - - JButton btnAcolyte = new JButton("Acolyte"); - backgroundInnerPanel.add(btnAcolyte); - - JButton btnCharlatan = new JButton("Charlatan"); - backgroundInnerPanel.add(btnCharlatan); - - JButton btnCriminal = new JButton("Criminal"); - backgroundInnerPanel.add(btnCriminal); - - JButton btnEntertainer = new JButton("Entertainer"); - backgroundInnerPanel.add(btnEntertainer); - - JButton btnFolkHero = new JButton("Folk Hero"); - backgroundInnerPanel.add(btnFolkHero); - - JButton btnGladiator = new JButton("Gladiator"); - backgroundInnerPanel.add(btnGladiator); - - JButton btnGuildArtisan = new JButton("Guild Artisan"); - backgroundInnerPanel.add(btnGuildArtisan); - - JButton btnGuildMerchant = new JButton("Guild Merchant"); - backgroundInnerPanel.add(btnGuildMerchant); - - JButton btnHermit = new JButton("Hermit"); - backgroundInnerPanel.add(btnHermit); - - JButton btnKnight = new JButton("Knight"); - backgroundInnerPanel.add(btnKnight); - - JButton btnNoble = new JButton("Noble"); - backgroundInnerPanel.add(btnNoble); - - JButton btnOutlander = new JButton("Outlander"); - backgroundInnerPanel.add(btnOutlander); - - JButton btnPirate = new JButton("Pirate"); - backgroundInnerPanel.add(btnPirate); - - JButton btnSage = new JButton("Sage"); - backgroundInnerPanel.add(btnSage); - - JButton btnSailor = new JButton("Sailor"); - backgroundInnerPanel.add(btnSailor); - - JButton btnSoldier = new JButton("Soldier"); - backgroundInnerPanel.add(btnSoldier); - - JButton btnSpy = new JButton("Spy"); - backgroundInnerPanel.add(btnSpy); - - JButton btnUrchin = new JButton("Urchin"); - backgroundInnerPanel.add(btnUrchin); - - JPanel panel = new JPanel(); - panel.setBackground(new Color(205, 133, 63)); - panel.setBorder(new BevelBorder(BevelBorder.LOWERED, null, null, null, null)); - panel.setBounds(324, 132, 396, 264); - panel.setLayout(new BorderLayout(0, 0)); - - JLabel lblDescription = new JLabel("Description"); - lblDescription.setFont(new Font("Lucida Grande", Font.PLAIN, 20)); - lblDescription.setHorizontalAlignment(SwingConstants.CENTER); - - JTextArea textArea = new JTextArea(); - textArea.setBackground(new Color(238, 232, 170)); - - panel.add(lblDescription, BorderLayout.NORTH); - panel.add(textArea, BorderLayout.CENTER); - - innerPanel.add(panel); - - } - - private JPanel createBackContinuePanel() { - JPanel backContPanel = new JPanel(); - backContPanel.setBackground(new Color(205, 133, 63)); - - - JButton backBtn = new JButton("<--- Back "); - backBtn.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) { - } - }); - backContPanel.add(backBtn); - - JButton continueBtn = new JButton("Continue --->"); - continueBtn.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) { - } - }); - backContPanel.add(continueBtn); - return backContPanel; - } - - /** - * @return - */ - private JLabel createLbl() { - JLabel titleLbl = new JLabel("Step 4: Description"); - titleLbl.setHorizontalAlignment(SwingConstants.CENTER); - titleLbl.setFont(new Font("Bodoni 72 Oldstyle", Font.PLAIN, 33)); - return titleLbl; - } -} diff --git a/src/target/App.class b/src/target/App.class deleted file mode 100644 index 6af5a20..0000000 Binary files a/src/target/App.class and /dev/null differ diff --git a/src/target/AppTheme.class b/src/target/AppTheme.class deleted file mode 100644 index 04a124a..0000000 Binary files a/src/target/AppTheme.class and /dev/null differ diff --git a/src/target/Background.class b/src/target/Background.class deleted file mode 100644 index bdf2fa7..0000000 Binary files a/src/target/Background.class and /dev/null differ diff --git a/src/target/BasicNavPanel.class b/src/target/BasicNavPanel.class deleted file mode 100644 index eb09d9f..0000000 Binary files a/src/target/BasicNavPanel.class and /dev/null differ diff --git a/src/target/BasicPanel.class b/src/target/BasicPanel.class deleted file mode 100644 index 08c3d4c..0000000 Binary files a/src/target/BasicPanel.class and /dev/null differ diff --git a/src/target/CharacterSheet.class b/src/target/CharacterSheet.class deleted file mode 100644 index c1dda94..0000000 Binary files a/src/target/CharacterSheet.class and /dev/null differ diff --git a/src/target/CharacterStats.class b/src/target/CharacterStats.class deleted file mode 100644 index a91fca8..0000000 Binary files a/src/target/CharacterStats.class and /dev/null differ diff --git a/src/target/Charisma.class b/src/target/Charisma.class deleted file mode 100644 index 40ada29..0000000 Binary files a/src/target/Charisma.class and /dev/null differ diff --git a/src/target/ChooseAbilityScoresPanel.class b/src/target/ChooseAbilityScoresPanel.class deleted file mode 100644 index bbcd02f..0000000 Binary files a/src/target/ChooseAbilityScoresPanel.class and /dev/null differ diff --git a/src/target/ClassTemplate.class b/src/target/ClassTemplate.class deleted file mode 100644 index 850daf2..0000000 Binary files a/src/target/ClassTemplate.class and /dev/null differ diff --git a/src/target/Cleric.class b/src/target/Cleric.class deleted file mode 100644 index f8a9654..0000000 Binary files a/src/target/Cleric.class and /dev/null differ diff --git a/src/target/Constitution.class b/src/target/Constitution.class deleted file mode 100644 index 45bc14c..0000000 Binary files a/src/target/Constitution.class and /dev/null differ diff --git a/src/target/DefaultButton$1.class b/src/target/DefaultButton$1.class deleted file mode 100644 index 8e7203d..0000000 Binary files a/src/target/DefaultButton$1.class and /dev/null differ diff --git a/src/target/DefaultButton.class b/src/target/DefaultButton.class deleted file mode 100644 index 9dce722..0000000 Binary files a/src/target/DefaultButton.class and /dev/null differ diff --git a/src/target/DescriptionPanel.class b/src/target/DescriptionPanel.class deleted file mode 100644 index 0102ff5..0000000 Binary files a/src/target/DescriptionPanel.class and /dev/null differ diff --git a/src/target/Dexterity.class b/src/target/Dexterity.class deleted file mode 100644 index 06b702e..0000000 Binary files a/src/target/Dexterity.class and /dev/null differ diff --git a/src/target/Dragonborn.class b/src/target/Dragonborn.class deleted file mode 100644 index 9f4f386..0000000 Binary files a/src/target/Dragonborn.class and /dev/null differ diff --git a/src/target/Dwarf.class b/src/target/Dwarf.class deleted file mode 100644 index ed21c8f..0000000 Binary files a/src/target/Dwarf.class and /dev/null differ diff --git a/src/target/Elf.class b/src/target/Elf.class deleted file mode 100644 index 5df5c06..0000000 Binary files a/src/target/Elf.class and /dev/null differ diff --git a/src/target/ExportPDF.class b/src/target/ExportPDF.class deleted file mode 100644 index 1fbe278..0000000 Binary files a/src/target/ExportPDF.class and /dev/null differ diff --git a/src/target/Fighter.class b/src/target/Fighter.class deleted file mode 100644 index 68b77c3..0000000 Binary files a/src/target/Fighter.class and /dev/null differ diff --git a/src/target/FileManager.class b/src/target/FileManager.class deleted file mode 100644 index 9135a6a..0000000 Binary files a/src/target/FileManager.class and /dev/null differ diff --git a/src/target/GUImanager.class b/src/target/GUImanager.class deleted file mode 100644 index e924248..0000000 Binary files a/src/target/GUImanager.class and /dev/null differ diff --git a/src/target/Gnome.class b/src/target/Gnome.class deleted file mode 100644 index 1976a8e..0000000 Binary files a/src/target/Gnome.class and /dev/null differ diff --git a/src/target/HalfElf.class b/src/target/HalfElf.class deleted file mode 100644 index 45ff557..0000000 Binary files a/src/target/HalfElf.class and /dev/null differ diff --git a/src/target/HalfOrc.class b/src/target/HalfOrc.class deleted file mode 100644 index 326b071..0000000 Binary files a/src/target/HalfOrc.class and /dev/null differ diff --git a/src/target/Halfling.class b/src/target/Halfling.class deleted file mode 100644 index 2908577..0000000 Binary files a/src/target/Halfling.class and /dev/null differ diff --git a/src/target/Human.class b/src/target/Human.class deleted file mode 100644 index bc09d13..0000000 Binary files a/src/target/Human.class and /dev/null differ diff --git a/src/target/ImageInfoPanel.class b/src/target/ImageInfoPanel.class deleted file mode 100644 index af862c6..0000000 Binary files a/src/target/ImageInfoPanel.class and /dev/null differ diff --git a/src/target/Img/Classes/artificer/artificer.jpg b/src/target/Img/Classes/artificer/artificer.jpg deleted file mode 100644 index 602fa91..0000000 Binary files a/src/target/Img/Classes/artificer/artificer.jpg and /dev/null differ diff --git a/src/target/Img/Classes/barbarian/barbarian.png b/src/target/Img/Classes/barbarian/barbarian.png deleted file mode 100644 index bf54896..0000000 Binary files a/src/target/Img/Classes/barbarian/barbarian.png and /dev/null differ diff --git a/src/target/Img/Classes/bard/bard.png b/src/target/Img/Classes/bard/bard.png deleted file mode 100644 index a38db46..0000000 Binary files a/src/target/Img/Classes/bard/bard.png and /dev/null differ diff --git a/src/target/Img/Classes/cleric/cleric.png b/src/target/Img/Classes/cleric/cleric.png deleted file mode 100644 index 5a67c47..0000000 Binary files a/src/target/Img/Classes/cleric/cleric.png and /dev/null differ diff --git a/src/target/Img/Classes/druid/druid.png b/src/target/Img/Classes/druid/druid.png deleted file mode 100644 index 5f7334f..0000000 Binary files a/src/target/Img/Classes/druid/druid.png and /dev/null differ diff --git a/src/target/Img/Classes/fighter/fighter.png b/src/target/Img/Classes/fighter/fighter.png deleted file mode 100644 index c8ea3b9..0000000 Binary files a/src/target/Img/Classes/fighter/fighter.png and /dev/null differ diff --git a/src/target/Img/Classes/monk/monk.png b/src/target/Img/Classes/monk/monk.png deleted file mode 100644 index 14060c5..0000000 Binary files a/src/target/Img/Classes/monk/monk.png and /dev/null differ diff --git a/src/target/Img/Classes/paladin/paladin.png b/src/target/Img/Classes/paladin/paladin.png deleted file mode 100644 index 76afe4e..0000000 Binary files a/src/target/Img/Classes/paladin/paladin.png and /dev/null differ diff --git a/src/target/Img/Classes/ranger/ranger.png b/src/target/Img/Classes/ranger/ranger.png deleted file mode 100644 index 08e15d0..0000000 Binary files a/src/target/Img/Classes/ranger/ranger.png and /dev/null differ diff --git a/src/target/Img/Classes/rogue/rogue.png b/src/target/Img/Classes/rogue/rogue.png deleted file mode 100644 index 1f74b51..0000000 Binary files a/src/target/Img/Classes/rogue/rogue.png and /dev/null differ diff --git a/src/target/Img/Classes/sorcerer/sorcerer.png b/src/target/Img/Classes/sorcerer/sorcerer.png deleted file mode 100644 index d18a20d..0000000 Binary files a/src/target/Img/Classes/sorcerer/sorcerer.png and /dev/null differ diff --git a/src/target/Img/Classes/warlock/warlock.png b/src/target/Img/Classes/warlock/warlock.png deleted file mode 100644 index 72518be..0000000 Binary files a/src/target/Img/Classes/warlock/warlock.png and /dev/null differ diff --git a/src/target/Img/Classes/wizard/wizard.png b/src/target/Img/Classes/wizard/wizard.png deleted file mode 100644 index 14cc763..0000000 Binary files a/src/target/Img/Classes/wizard/wizard.png and /dev/null differ diff --git a/src/target/Img/Races/dragonborn/dragonborn.jpg b/src/target/Img/Races/dragonborn/dragonborn.jpg deleted file mode 100644 index be12a03..0000000 Binary files a/src/target/Img/Races/dragonborn/dragonborn.jpg and /dev/null differ diff --git a/src/target/Img/Races/dragonborn/dragonborn2.jpg b/src/target/Img/Races/dragonborn/dragonborn2.jpg deleted file mode 100644 index 626243a..0000000 Binary files a/src/target/Img/Races/dragonborn/dragonborn2.jpg and /dev/null differ diff --git a/src/target/Img/Races/dragonborn/dragonborn3.jpg b/src/target/Img/Races/dragonborn/dragonborn3.jpg deleted file mode 100644 index 4007150..0000000 Binary files a/src/target/Img/Races/dragonborn/dragonborn3.jpg and /dev/null differ diff --git a/src/target/Img/Races/dragonborn/dragonborn4.jpg b/src/target/Img/Races/dragonborn/dragonborn4.jpg deleted file mode 100644 index 454cb81..0000000 Binary files a/src/target/Img/Races/dragonborn/dragonborn4.jpg and /dev/null differ diff --git a/src/target/Img/Races/dragonborn/dragonborn5.jpg b/src/target/Img/Races/dragonborn/dragonborn5.jpg deleted file mode 100644 index 3854a66..0000000 Binary files a/src/target/Img/Races/dragonborn/dragonborn5.jpg and /dev/null differ diff --git a/src/target/Img/Races/dragonborn/dragonborn6.jpg b/src/target/Img/Races/dragonborn/dragonborn6.jpg deleted file mode 100644 index 5f2736a..0000000 Binary files a/src/target/Img/Races/dragonborn/dragonborn6.jpg and /dev/null differ diff --git a/src/target/Img/Races/dwarf/dwarf.jpg b/src/target/Img/Races/dwarf/dwarf.jpg deleted file mode 100644 index e2ebf99..0000000 Binary files a/src/target/Img/Races/dwarf/dwarf.jpg and /dev/null differ diff --git a/src/target/Img/Races/elf/elf.jpg b/src/target/Img/Races/elf/elf.jpg deleted file mode 100644 index ddffb1a..0000000 Binary files a/src/target/Img/Races/elf/elf.jpg and /dev/null differ diff --git a/src/target/Img/Races/gnome/gnome.jpg b/src/target/Img/Races/gnome/gnome.jpg deleted file mode 100644 index 8478640..0000000 Binary files a/src/target/Img/Races/gnome/gnome.jpg and /dev/null differ diff --git a/src/target/Img/Races/halfelf/halfelf.jpg b/src/target/Img/Races/halfelf/halfelf.jpg deleted file mode 100644 index a20efec..0000000 Binary files a/src/target/Img/Races/halfelf/halfelf.jpg and /dev/null differ diff --git a/src/target/Img/Races/halfling/halfling.jpg b/src/target/Img/Races/halfling/halfling.jpg deleted file mode 100644 index 362c38e..0000000 Binary files a/src/target/Img/Races/halfling/halfling.jpg and /dev/null differ diff --git a/src/target/Img/Races/halforc/halforc.jpg b/src/target/Img/Races/halforc/halforc.jpg deleted file mode 100644 index 452c1db..0000000 Binary files a/src/target/Img/Races/halforc/halforc.jpg and /dev/null differ diff --git a/src/target/Img/Races/human/human.jpg b/src/target/Img/Races/human/human.jpg deleted file mode 100644 index 987f03a..0000000 Binary files a/src/target/Img/Races/human/human.jpg and /dev/null differ diff --git a/src/target/Img/Races/tiefling/tiefling.jpg b/src/target/Img/Races/tiefling/tiefling.jpg deleted file mode 100644 index 0a28ee7..0000000 Binary files a/src/target/Img/Races/tiefling/tiefling.jpg and /dev/null differ diff --git a/src/target/Img/sheet.jpg b/src/target/Img/sheet.jpg deleted file mode 100644 index 9126be9..0000000 Binary files a/src/target/Img/sheet.jpg and /dev/null differ diff --git a/src/target/InfoPanel.class b/src/target/InfoPanel.class deleted file mode 100644 index e9fa3d5..0000000 Binary files a/src/target/InfoPanel.class and /dev/null differ diff --git a/src/target/Intelligence.class b/src/target/Intelligence.class deleted file mode 100644 index 79fcbba..0000000 Binary files a/src/target/Intelligence.class and /dev/null differ diff --git a/src/target/LoadCharacterPanel.class b/src/target/LoadCharacterPanel.class deleted file mode 100644 index 56b09bc..0000000 Binary files a/src/target/LoadCharacterPanel.class and /dev/null differ diff --git a/src/target/MainMenuPanel.class b/src/target/MainMenuPanel.class deleted file mode 100644 index 250f5b3..0000000 Binary files a/src/target/MainMenuPanel.class and /dev/null differ diff --git a/src/target/Race.class b/src/target/Race.class deleted file mode 100644 index 363afe7..0000000 Binary files a/src/target/Race.class and /dev/null differ diff --git a/src/target/Skills.class b/src/target/Skills.class deleted file mode 100644 index 903716c..0000000 Binary files a/src/target/Skills.class and /dev/null differ diff --git a/src/target/Stats.class b/src/target/Stats.class deleted file mode 100644 index 81bc44d..0000000 Binary files a/src/target/Stats.class and /dev/null differ diff --git a/src/target/Strength.class b/src/target/Strength.class deleted file mode 100644 index e84bd5e..0000000 Binary files a/src/target/Strength.class and /dev/null differ diff --git a/src/target/Tiefling.class b/src/target/Tiefling.class deleted file mode 100644 index 315be25..0000000 Binary files a/src/target/Tiefling.class and /dev/null differ diff --git a/src/target/Wisdom.class b/src/target/Wisdom.class deleted file mode 100644 index 2c74598..0000000 Binary files a/src/target/Wisdom.class and /dev/null differ diff --git a/src/target/Wizard.class b/src/target/Wizard.class deleted file mode 100644 index 59fc53c..0000000 Binary files a/src/target/Wizard.class and /dev/null differ diff --git a/src/target/step4$1.class b/src/target/step4$1.class deleted file mode 100644 index 1988e1e..0000000 Binary files a/src/target/step4$1.class and /dev/null differ diff --git a/src/target/step4$2.class b/src/target/step4$2.class deleted file mode 100644 index ff3efc0..0000000 Binary files a/src/target/step4$2.class and /dev/null differ diff --git a/src/target/step4.class b/src/target/step4.class deleted file mode 100644 index e1fedb1..0000000 Binary files a/src/target/step4.class and /dev/null differ