Package com.prineside.tdi2
Class BasicLevel
java.lang.Object
com.prineside.tdi2.BasicLevel
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanbooleanfloatintbooleanbooleanbooleanbooleanfinal Array<Requirement>intfinal int[]final Array<BasicLevelQuestConfig>intfinal Array<Requirement>intfinal Array<BasicLevel.WaveQuest> -
Method Summary
Modifier and TypeMethodDescriptionstatic BasicLevelstatic BasicLevelcreateNewFromFullJson(String jsonStr) static BasicLevelfloatgetMap()int[]getWaveQuest(String questId) booleanbooleanvoidvoidvoidwriteObjectStart()toString()
-
Field Details
-
name
-
stageName
-
stagePosition
public int stagePosition -
forcedDifficulty
-
seed
public int seed -
fastForwardFrame
public int fastForwardFrame -
hasLeaderboards
public boolean hasLeaderboards -
notAffectsStatistics
public boolean notAffectsStatistics -
achievementsDisabled
public boolean achievementsDisabled -
customWaves
public boolean customWaves -
fixedQuests
public boolean fixedQuests -
isBonus
public boolean isBonus -
dailyQuest
public boolean dailyQuest -
openRequirements
-
showRequirements
-
priceInMoney
public int priceInMoney -
priceInResources
public final int[] priceInResources -
quests
-
waveQuests
-
enemyWaves
-
difficultyExpectedPlaytime
public float difficultyExpectedPlaytime -
bonusStagesConfig
-
-
Method Details
-
isPurchased
public boolean isPurchased() -
isPurchasedOrPlayed
public boolean isPurchasedOrPlayed() -
clone
-
createNew
-
saveToDisk
public void saveToDisk() -
toJsonStringEverything
-
toJson
writeObjectStart() -
createNewFromFullJson
-
fromJson
-
getStarMilestoneWaves
public int[] getStarMilestoneWaves()- Returns:
- 3 wave numbers which give stars (wave may be set to 0, in which case there's no star)
-
getDifficultyExpectedPlaytime
public float getDifficultyExpectedPlaytime() -
reloadMap
-
getMap
-
setMap
-
getAllowedEnemies
-
getPreview
-
getQuest
-
toString
-
getWaveQuest
-