Class WindowQuestLogAvailableQuestModule
java.lang.Object
com.minecolonies.core.client.gui.questlog.WindowQuestLogAvailableQuestModule
- All Implemented Interfaces:
WindowQuestLogQuestModule<IQuestInstance>
public class WindowQuestLogAvailableQuestModule
extends Object
implements WindowQuestLogQuestModule<IQuestInstance>
Window quest log renderer for available quests.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetQuestItems(IColonyView colonyView) Get the list of quests for this window.voidrenderQuestItem(IQuestInstance quest, IColonyView colonyView, com.ldtteam.blockui.Pane row) Renderer method for an individual quest item.voidtrackQuest(IQuestInstance quest) Method to instantiate quest tracking, does not have to be implemented.
-
Constructor Details
-
WindowQuestLogAvailableQuestModule
public WindowQuestLogAvailableQuestModule()
-
-
Method Details
-
getQuestItems
Description copied from interface:WindowQuestLogQuestModuleGet the list of quests for this window.- Specified by:
getQuestItemsin interfaceWindowQuestLogQuestModule<IQuestInstance>- Parameters:
colonyView- the colony instance.- Returns:
- a list of quest items.
-
renderQuestItem
public void renderQuestItem(IQuestInstance quest, IColonyView colonyView, com.ldtteam.blockui.Pane row) Description copied from interface:WindowQuestLogQuestModuleRenderer method for an individual quest item. Called via the scrolling list.- Specified by:
renderQuestItemin interfaceWindowQuestLogQuestModule<IQuestInstance>- Parameters:
quest- the current quest instance.colonyView- the colony view instance.row- the parenting row pane.
-
trackQuest
Description copied from interface:WindowQuestLogQuestModuleMethod to instantiate quest tracking, does not have to be implemented.- Specified by:
trackQuestin interfaceWindowQuestLogQuestModule<IQuestInstance>- Parameters:
quest- the quest instance.
-