void SetAction() { target.SetAction(action); switch (action) { case Action.Attack: ui.DisableMainButtons(); ui.EnableTargetButtons(); break; case Action.Defend: target.SetTarget(flow.currentUnit); break; default: break; } }
void SendToTargetHandler() { target.SetTarget(member); }