Adjustment regex
Capture groups: 1:power 2:# supply centers 3:#units 4:# to build or remove
This is always fed a trimmed string, and assumed that it is always on one line.
This class is meant to be an illustrative example of how to use
the adjudication routines to evaluate moves, as might be needed
by an AI (computer) player or the like.
Parses and then adds an order to the order list, possibly with undo/redo support,
and only succeeding if the order passes validation given the
validation constraints.
Parses and then adds an order to the TurnState,
possibly with undo/redo support,
and only succeeding if the order passes validation given the
validation constraints.
Convenience method: for dialogs with ONE button, and
no other components to be added to the button bar, adds
the given button to the button bar, with the appropriate
spacing.
Convenience method typically used in determineDependencies(); this
method gets all Support and Move orders to this space and adds
them to the dependency list.
Convenience method: for dialogs with TWO buttons, and
no other components to be added to the button bar, adds
the given buttons to the button bar, with the appropriate
spacing.