scene(EditorScene.class).map().quirks(quirks.value());
return Minion.CONTINUE;
};
});
final DropDownMenu type = new DropDownMenu(new Minion<SelectionEvent>() {
@Override
public long run(Dispatcher<SelectionEvent> dispatcher, String t, SelectionEvent event) {
scene(EditorScene.class).map().type(((DropDownMenu)event.source()).value());
return Minion.CONTINUE;
}
});
type.add("Questz");
type.add("Friendz");
type.add("Battlez");
type.select(scene(EditorScene.class).map().type());
type.resize(new Vector2f(155, 24));
type.position(new Vector2f(0, 130));
addChild(type, 3);
DropDownMenu fog = new DropDownMenu(new Minion<SelectionEvent>() {
@Override
public long run(Dispatcher<SelectionEvent> dispatcher, String t, SelectionEvent event) {
scene(EditorScene.class).map().fog(((DropDownMenu)event.source()).value());
return Minion.CONTINUE;
}
});
fog.add("No Fog");
fog.add("Fog Of War");
fog.add("Fixed Fog");
fog.select(scene(EditorScene.class).map().fog());
fog.resize(new Vector2f(155, 24));
fog.position(new Vector2f(0, 156));
addChild(fog, 2);
Button play = new Button(new Minion<SelectionEvent>() {
@Override