Beispiel #1
0
 private void renderCommand(Graphics g) {
   g.setColor(Colour.getColour("WHITE"));
   g.setFont(Fonts.getFont("STANDARD_ITALIC"));
   g.drawString("commands", 50, 560);
   g.setFont(Fonts.getFont("STANDARD"));
   g.drawString("ATTACK", 50, 605);
   g.drawString("SKILLS", 50, 650);
   g.drawString("BERSERK", 50, 695);
   g.drawString("ITEM", 50, 740);
 }
Beispiel #2
0
  private void renderParty(Graphics g) {
    // TEMP
    g.setColor(Colour.getColour("BLACK"));
    g.setFont(Fonts.getFont("STANDARD"));
    Text.writeShadow(g, "KRATOR", 930, 650);
    Text.writeShadow(g, "TYDE", 930, 695);
    Text.writeShadow(g, "?????", 930, 740);
    Text.writeShadow(g, "134", 1120, 650);
    Text.writeShadow(g, "102", 1120, 695);
    Text.writeShadow(g, "???", 1120, 740);
    Text.writeShadow(g, "64", 1250, 650);
    Text.writeShadow(g, "128", 1250, 695);
    Text.writeShadow(g, "???", 1250, 740);

    // TEMP
    g.setColor(Colour.getColour("DISPLAY_CHARGE"));
    g.fillRect(930, 655, 150, 10);
    g.fillRect(930, 700, 150, 10);
    g.fillRect(930, 745, 150, 10);
    g.setColor(Colour.getColour("BLACK"));
    g.drawRect(930, 655, 150, 10);
    g.drawRect(930, 700, 150, 10);
    g.drawRect(930, 745, 150, 10);

    // TEMP
    g.setColor(Colour.getColour("DISPLAY_HEALTH"));
    g.fillRect(1120, 655, 100, 10);
    g.fillRect(1120, 700, 100, 10);
    g.fillRect(1120, 745, 100, 10);
    g.setColor(Colour.getColour("BLACK"));
    g.drawRect(1120, 655, 100, 10);
    g.drawRect(1120, 700, 100, 10);
    g.drawRect(1120, 745, 100, 10);

    // TEMP
    g.setColor(Colour.getColour("DISPLAY_ENERGY"));
    g.fillRect(1250, 655, 100, 10);
    g.fillRect(1250, 700, 100, 10);
    g.fillRect(1250, 745, 100, 10);
    g.setColor(Colour.getColour("BLACK"));
    g.drawRect(1250, 655, 100, 10);
    g.drawRect(1250, 700, 100, 10);
    g.drawRect(1250, 745, 100, 10);
  }