Beispiel #1
0
 public final void loadItems() {
   clearItems();
   for (final SeekHop hop : SeekHop.values()) {
     addItem(hop);
   }
 }
Beispiel #2
0
 public HopListBox(final Player player) {
   super(new TerminalSize(10, SeekHop.values().length));
   this.player = player;
   loadItems();
 }