Class MapPrestigeConfig

java.lang.Object
com.prineside.tdi2.MapPrestigeConfig
All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable

public class MapPrestigeConfig extends Object implements com.esotericsoftware.kryo.KryoSerializable
  • 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

      public String 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:
      write in interface com.esotericsoftware.kryo.KryoSerializable
    • read

      public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input)
      Specified by:
      read in interface com.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

      public String describe()
    • toJson

      public void toJson(com.badlogic.gdx.utils.Json json)
    • fromJson

      public static MapPrestigeConfig fromJson(com.badlogic.gdx.utils.JsonValue jsonValue)