public IReadOnlyList <ActionData> AvailableActions(ActionData.ActionType actionType) { switch (actionType) { case ActionData.ActionType.Psy: return(_psy); case ActionData.ActionType.Djinn: return(_djinn); case ActionData.ActionType.Summon: return(_summon); case ActionData.ActionType.Inventory: return(_item); } throw new Exception("ERROR"); }
public IEnumerable <ActionData> CurrentCharacterActions(ActionData.ActionType type) { return(PartyController.Instance.PartyMembers[_currentPartyMemberIndex].AvailableActions(type)); }