// Copyright (c) Pixel Crushers. All rights reserved.
using UnityEngine;
namespace PixelCrushers.QuestMachine
{
///
/// Interface for quest journal UIs.
///
public interface IQuestJournalUI
{
bool isVisible { get; }
///
/// Show the quest journal contents in the UI.
///
void Show(QuestJournal questJournal);
///
/// Hide the UI.
///
void Hide();
///
/// Toggle the visibility of the UI.
///
void Toggle(QuestJournal questJournal);
///
/// Repaint the UI.
///
///
void Repaint(QuestJournal questJournal);
///
/// True if the group is expanded in the UI.
///
bool IsGroupExpanded(string groupName);
///
/// Toggles whether a group is expanded or not.
///
/// Group to toggle.
void ToggleGroup(string groupName);
///
/// Selects a quest to show more details.
///
/// The quest to select.
void SelectQuest(Quest quest);
}
}