Fix access levels in XpStateSingle
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -53,7 +53,7 @@ class XpStateSingle
|
|||||||
return toHourly(xpGained);
|
return toHourly(xpGained);
|
||||||
}
|
}
|
||||||
|
|
||||||
int getActionsHr()
|
private int getActionsHr()
|
||||||
{
|
{
|
||||||
return toHourly(actions);
|
return toHourly(actions);
|
||||||
}
|
}
|
||||||
@@ -82,12 +82,12 @@ class XpStateSingle
|
|||||||
return Math.max(60, Duration.between(skillTimeStart, Instant.now()).getSeconds());
|
return Math.max(60, Duration.between(skillTimeStart, Instant.now()).getSeconds());
|
||||||
}
|
}
|
||||||
|
|
||||||
int getXpRemaining()
|
private int getXpRemaining()
|
||||||
{
|
{
|
||||||
return nextLevelExp - (startXp + xpGained);
|
return nextLevelExp - (startXp + xpGained);
|
||||||
}
|
}
|
||||||
|
|
||||||
int getActionsRemaining()
|
private int getActionsRemaining()
|
||||||
{
|
{
|
||||||
if (actionsHistoryInitialized)
|
if (actionsHistoryInitialized)
|
||||||
{
|
{
|
||||||
@@ -112,7 +112,7 @@ class XpStateSingle
|
|||||||
return Integer.MAX_VALUE;
|
return Integer.MAX_VALUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
int getSkillProgress()
|
private int getSkillProgress()
|
||||||
{
|
{
|
||||||
int currentXp = startXp + xpGained;
|
int currentXp = startXp + xpGained;
|
||||||
|
|
||||||
@@ -121,7 +121,7 @@ class XpStateSingle
|
|||||||
return (int) ((xpGained / xpGoal) * 100);
|
return (int) ((xpGained / xpGoal) * 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
String getTimeTillLevel()
|
private String getTimeTillLevel()
|
||||||
{
|
{
|
||||||
long seconds = getTimeElapsedInSeconds();
|
long seconds = getTimeElapsedInSeconds();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user