* Adds a new factory to the complex.
*/
@Override
public void addFactory()
{
final AddFactoryDialog dialog =
this.complex.getGame().getAddFactoryDialog();
if (dialog.open() == Result.OK)
{
for (final Factory factory : dialog.getFactories())
{
this.complex.addFactory(factory);
}
doChange();
redraw();