Exemplo n.º 1
0
 public Console(CoreSubsystem core, List<ConsolePlugInExtension> extensions) {
   this.core = core;
   manager = core.getFriendManager();
   if (extensions == null) {
     extensions = new ArrayList<ConsolePlugInExtension>(); // Create empty list
   } else {
     this.extensions = extensions;
   }
 }
Exemplo n.º 2
0
 private void showbuilds() {
   for (Friend f : core.getFriendManager().friends()) {
     printer.println(
         f.getAllianceBuildNumber() + ": " + core.getFriendManager().nickname(f.getGuid()));
   }
 }