Package net.cis.common.model.system

Examples of net.cis.common.model.system.Character


    }
  }

  public void delete(String command) {
    if (command.equalsIgnoreCase("ok")) {
      Character character2Delete = characterListBox.getFocusItem();
      characterListBox.removeItem(character2Delete);
      // TODO: und aus Datenbank entfernen
    }
    screen.findElementByName("panel.messagebox").hideWithoutEffect();
  }
View Full Code Here


    System.out.println(cam.getDirection());
  }

  private void debugFillListBox() {
    Character testChar1 = new Character("MudCee1");
    testChar1.setSpecies("Bichromat1");
    testChar1.setCredits(10000);
    testChar1.setIcon(nifty.createImage("ui/icons/quest.png", true));

    Character testChar2 = new Character("MudCee2");
    testChar2.setSpecies("Bichromat2");
    testChar2.setCredits(20000);
    testChar2.setIcon(nifty.createImage("ui/icons/quest.png", true));

    Character testChar3 = new Character("MudCee3");
    testChar3.setSpecies("Bichromat3");
    testChar3.setCredits(30000);
    testChar3.setIcon(nifty.createImage("ui/icons/quest.png", true));

    characterListBox.addItem(testChar1);
    characterListBox.addItem(testChar2);
    characterListBox.addItem(testChar3);
  }
View Full Code Here

TOP

Related Classes of net.cis.common.model.system.Character

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.