Package org.cyclops.cyclopscore.infobook
Interface IInfoBook
- All Known Implementing Classes:
InfoBook
,InfoBookTest
public interface IInfoBook
Instances of this can be used with the
InfoBookRegistry
to create in-game manuals.-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSection
(String sectionName, InfoSection section) Map
<String, org.apache.commons.lang3.tuple.Pair<InfoSection, Integer>> int
org.cyclops.cyclopscore.datastructure.EvictingStack
<InfoSection.Location> ModBase
<?> getMod()
int
getSection
(String sectionName) void
putIndex
(InfoSectionTagIndex tagIndex) void
setConfigLinks
(Map<String, org.apache.commons.lang3.tuple.Pair<InfoSection, Integer>> configLinks) void
setCurrentPage
(int page) void
setCurrentSection
(InfoSection section)
-
Method Details
-
getMod
ModBase<?> getMod() -
getPagesPerView
int getPagesPerView() -
getBaseUrl
String getBaseUrl() -
setCurrentPage
void setCurrentPage(int page) -
setCurrentSection
-
getCurrentPage
int getCurrentPage() -
getCurrentSection
InfoSection getCurrentSection() -
addSection
-
getSection
-
getConfigLinks
Map<String,org.apache.commons.lang3.tuple.Pair<InfoSection, getConfigLinks()Integer>> -
setConfigLinks
void setConfigLinks(Map<String, org.apache.commons.lang3.tuple.Pair<InfoSection, Integer>> configLinks) -
getTagIndex
InfoSectionTagIndex getTagIndex() -
putIndex
-
getHistory
org.cyclops.cyclopscore.datastructure.EvictingStack<InfoSection.Location> getHistory()
-