mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Merge pull request #2377 from spjspj/master
spjspj - Add in energy/experience counters
This commit is contained in:
commit
3e68a1d9a7
1 changed files with 5 additions and 4 deletions
|
@ -543,6 +543,7 @@ public class PlayerPanelExt extends javax.swing.JPanel {
|
|||
energy = new ImagePanel(resizedEnergy, ImagePanel.ACTUAL);
|
||||
energy.setToolTipText("Energy");
|
||||
energy.setOpaque(false);
|
||||
|
||||
// Experience count
|
||||
experienceLabel.setText("0");
|
||||
r = new Rectangle(18, 18);
|
||||
|
@ -553,13 +554,13 @@ public class PlayerPanelExt extends javax.swing.JPanel {
|
|||
experience.setToolTipText("Experience");
|
||||
experience.setOpaque(false);
|
||||
|
||||
energy.setBounds(5, 22, 21, 21);
|
||||
energy.setBounds(2, 22, 21, 21);
|
||||
zonesPanel.add(energy);
|
||||
energyLabel.setBounds(27, 22, 21, 21);
|
||||
energyLabel.setBounds(24, 22, 18, 21);
|
||||
zonesPanel.add(energyLabel);
|
||||
experience.setBounds(48, 22, 21, 21);
|
||||
experience.setBounds(41, 22, 21, 21);
|
||||
zonesPanel.add(experience);
|
||||
experienceLabel.setBounds(69, 22, 21, 21);
|
||||
experienceLabel.setBounds(58, 22, 21, 21);
|
||||
zonesPanel.add(experienceLabel);
|
||||
|
||||
btnPlayer = new JButton();
|
||||
|
|
Loading…
Reference in a new issue