void SetAction() { target.SetAction(action); controller.SetItem(invItemNum); ui.HideInventoryPanel(); ui.DisableMainButtons(); ui.EnableTargetButtons(); }
void SetAction() { target.SetAction(action); controller.SetAbility(abilityNum); ui.HideAbilityPanel(); ui.DisableMainButtons(); ui.EnableTargetButtons(); }
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; } }