// Add settings
Button create = new Button(new Minion<SelectionEvent>() {
@Override
public long run(Dispatcher<SelectionEvent> dispatcher, String type, SelectionEvent event) {
Map map = scene(EditorScene.class).map();
for (Logic l: map.selectedLogics()) map.deselectLogic(l);
return Minion.CONTINUE;
}
}, "new logic");
create.resize(new Vector2f(155, 24));
addChild(create, 2);