a couple helper constructs

StateMatches for syncing the local state with the global.
MoveTowardsVaryingTargetAction as a generic version of the
AttacmanAction.