Package com.prineside.tdi2
Class MapPrestigeConfig
java.lang.Object
com.prineside.tdi2.MapPrestigeConfig
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable
-
Field Summary
FieldsModifier and TypeFieldDescriptionintstatic final intdoublestatic final intstatic final intstatic final intstatic final intstatic final intbooleanbooleanbooleanbooleanlongstatic final intboolean -
Constructor Summary
ConstructorsConstructorDescriptionMapPrestigeConfig(String userMapId, double mapPrice, int averageDifficulty, boolean noAbilities, boolean noResearch, boolean walkablePlatforms, boolean noBounty, boolean noMiners, long score) -
Method Summary
Modifier and TypeMethodDescriptiondescribe()static MapPrestigeConfigfromJson(com.badlogic.gdx.utils.JsonValue jsonValue) intintintintstatic intgetMaxPrestigeScore(int averageDifficulty, boolean researchesDisabled) doubleintvoidread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) voidtoJson(com.badlogic.gdx.utils.Json json) voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output)
-
Field Details
-
BASE_BONUS
public static final int BASE_BONUS- See Also:
-
MAX_DIFFICULTY_BONUS
public static final int MAX_DIFFICULTY_BONUS- See Also:
-
NO_ABILITIES_BONUS
public static final int NO_ABILITIES_BONUS- See Also:
-
WALKABLE_PLATFORMS_BONUS
public static final int WALKABLE_PLATFORMS_BONUS- See Also:
-
NO_BOUNTY_MOD_BONUS
public static final int NO_BOUNTY_MOD_BONUS- See Also:
-
NO_MINERS_BONUS
public static final int NO_MINERS_BONUS- See Also:
-
NO_RESEARCH_BONUS
public static final int NO_RESEARCH_BONUS- See Also:
-
userMapId
-
mapPrice
public double mapPrice -
averageDifficulty
public int averageDifficulty -
noAbilities
public boolean noAbilities -
noResearch
public boolean noResearch -
walkablePlatforms
public boolean walkablePlatforms -
noBounty
public boolean noBounty -
noMiners
public boolean noMiners -
score
public long score
-
-
Constructor Details
-
MapPrestigeConfig
public MapPrestigeConfig(String userMapId, double mapPrice, int averageDifficulty, boolean noAbilities, boolean noResearch, boolean walkablePlatforms, boolean noBounty, boolean noMiners, long score)
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) - Specified by:
writein interfacecom.esotericsoftware.kryo.KryoSerializable
-
read
public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) - Specified by:
readin interfacecom.esotericsoftware.kryo.KryoSerializable
-
getCrownsCount
public int getCrownsCount() -
getScoreMultiplier
public double getScoreMultiplier() -
getDifficultyBonus
public int getDifficultyBonus() -
getTotalBonus
public int getTotalBonus() -
getFinalPrestigeTokens
public int getFinalPrestigeTokens() -
getMaxPrestigeScore
public int getMaxPrestigeScore() -
getMaxPrestigeScore
public static int getMaxPrestigeScore(int averageDifficulty, boolean researchesDisabled) -
describe
-
toJson
public void toJson(com.badlogic.gdx.utils.Json json) -
fromJson
-