@Override
 public void open(ConsoleFirst menu) {
   addComponent(new Label(character.getJobName()));
   for (int i = 0; i < character.getWorkCapacity().size(); i++) {
     addComponent(
         new Label(
             character.getWorkCapacity().get(i).getName()
                 + ": "
                 + character.getWorkCapacity().get(i).getWorkCapacity()));
   }
   addComponent(
       new Label("Explorer: " + String.valueOf(character.getExplorer().getExplorerCapacity())));
   addComponent(new Button("Back", Options.getInitiateThings().getMenuActions().close(this)));
 }
 public ConsoleHabitantsSelected(Characters characters) {
   super(characters.getName());
   this.character = characters;
 }