Package com.prineside.tdi2
Class BasicLevel
java.lang.Object
com.prineside.tdi2.BasicLevel
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal com.badlogic.gdx.utils.Array<EnemyType>
boolean
boolean
final int[]
int
boolean
int
boolean
boolean
int
int
long
final com.badlogic.gdx.utils.Array<Requirement>
int
final int[]
boolean
final com.badlogic.gdx.utils.Array<BasicLevelQuestConfig>
int
final com.badlogic.gdx.utils.Array<Requirement>
int
final com.badlogic.gdx.utils.Array<BasicLevel.WaveQuest>
-
Method Summary
Modifier and TypeMethodDescriptionstatic BasicLevel
static BasicLevel
fromJson
(com.badlogic.gdx.utils.JsonValue levelJson) com.badlogic.gdx.utils.Array<EnemyType>
int[]
Возвращает номера волн, после которых сложность переходит на новый этапgetMap()
com.badlogic.gdx.graphics.g2d.TextureRegion
int[]
getWaveQuest
(String questId) void
void
void
toJson
(com.badlogic.gdx.utils.Json json) writeObjectStart()
-
Field Details
-
name
-
stageName
-
stagePosition
public int stagePosition -
forcedDifficulty
-
seed
public int seed -
fastForwardFrame
public int fastForwardFrame -
hasLeaderboards
public boolean hasLeaderboards -
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
-
difficultyMilestones
public final int[] difficultyMilestones -
allowedEnemies
-
purchased
public boolean purchased -
gameStartsCount
public int gameStartsCount -
maxReachedWave
public int maxReachedWave -
maxPlayingTime
public int maxPlayingTime -
maxScore
public long maxScore
-
-
Method Details
-
clone
-
createNew
-
saveToDisk
public void saveToDisk() -
toJson
public void toJson(com.badlogic.gdx.utils.Json json) writeObjectStart() -
fromJson
-
getStarMilestoneWaves
public int[] getStarMilestoneWaves()- Returns:
- 3 номера волны, за которые дают звезды (может быть 0 - тогда звезды нет)
-
getComplexityWaveMilestones
public int[] getComplexityWaveMilestones()Возвращает номера волн, после которых сложность переходит на новый этап- Returns:
- int[3]
-
reloadMap
-
getMap
-
setMap
-
getAllowedEnemies
-
getPreview
public com.badlogic.gdx.graphics.g2d.TextureRegion getPreview() -
getQuest
-
getWaveQuest
-