Package com.prineside.tdi2
Class BasicLevel
java.lang.Object
com.prineside.tdi2.BasicLevel
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
boolean
boolean
boolean
float
int
boolean
boolean
boolean
boolean
final Array<Requirement>
int
final int[]
final Array<BasicLevelQuestConfig>
int
final Array<Requirement>
int
final Array<BasicLevel.WaveQuest>
-
Method Summary
Modifier and TypeMethodDescriptionstatic BasicLevel
static BasicLevel
createNewFromFullJson
(String jsonStr) static BasicLevel
float
getMap()
int[]
getWaveQuest
(String questId) boolean
boolean
void
void
void
writeObjectStart()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 -
canNotBeRestarted
public boolean canNotBeRestarted -
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
-