Package com.prineside.tdi2.screens
Class GameScreen
java.lang.Object
com.prineside.tdi2.Screen
com.prineside.tdi2.screens.GameScreen
- All Implemented Interfaces:
 com.badlogic.gdx.Screen
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionGameScreen(BasicLevel basicLevel, DifficultyMode difficultyMode, int modeDifficultyMultiplier, AbilitySelectionOverlay.SelectedAbilitiesConfiguration abilitiesConfiguration, boolean canLootCases, int encryptedChestsInInventory, boolean lootBoostEnabled, boolean rarityBoostEnabled, long gameStartTimestamp, GameValueManager.GameValuesSnapshot snapshot, ProgressManager.InventoryStatistics inventoryStatistics) Used by: - GameStateSystem.restartGame() - GameStateSystem.continueSavedGame() - GameStateSystem.startReplay() - GameStateSystem.headlessValidateGame() --- ScreenManager.startNewBasicLevel() --- ScreenManager.startNewDailyLevel()GameScreen(BasicLevel basicLevel, DifficultyMode difficultyMode, int modeDifficultyMultiplier, AbilitySelectionOverlay.SelectedAbilitiesConfiguration abilitiesConfiguration, long gameStartTimestamp, GameValueManager.GameValuesSnapshot snapshot) Used by: - ScreenManager.startNewBasicLevel()GameScreen(GameSystemProvider S, long gameStartTimestamp) Used by: - GameStateSystem.continueSavedGame()GameScreen(DailyQuestManager.DailyQuestLevel dailyQuestLevel) Used by: - ScreenManager.startNewDailyLevel()GameScreen(UserMap userMap, DifficultyMode difficultyMode, int modeDifficultyMultiplier, AbilitySelectionOverlay.SelectedAbilitiesConfiguration abilitiesConfiguration, long gameStartTimestamp, BossType[] allowedBossesForCustomMaps, GameValueManager.GameValuesSnapshot snapshot, ProgressManager.InventoryStatistics inventoryStatistics) Used by: - ScreenManager.startNewUserLevel() - GameStateSystem.restartGame() - GameStateSystem.continueSavedGame() - GameStateSystem.startReplay() - GameStateSystem.headlessValidateGame() - 
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigureSystemsBeforeSetup(GameSystemProvider S, AbilitySelectionOverlay.SelectedAbilitiesConfiguration abilitiesConfiguration, boolean canLootCases, int encryptedChestsInInventory, boolean lootBoostEnabled, boolean rarityBoostEnabled, long gameStartTimestamp, BasicLevel basicLevel, UserMap userMap, DifficultyMode difficultyMode, int modeDifficultyMultiplier, GameStateSystem.GameMode gameMode, BossType[] allowedBossesForCustomMaps, GameValueManager.GameValuesSnapshot snapshot, ProgressManager.InventoryStatistics inventoryStatistics) Used by: - GameScreen.init() - GameStateSystem.continueSavedGame() (if continued with sync validator)voiddispose()Called when this screen should release all resources.voiddraw(float realDeltaTime) voidshow()Called when this screen becomes the current screen for aGame.voidupdateDraw(float deltaTime, float realDeltaTime) void 
- 
Field Details
- 
S
 - 
validationS
 - 
loader
 - 
postprocessingEnabled
public boolean postprocessingEnabled 
 - 
 - 
Constructor Details
- 
GameScreen
Used by: - ScreenManager.startNewDailyLevel() - 
GameScreen
Used by: - GameStateSystem.continueSavedGame() 
 - 
Method Details
- 
updateDraw
public void updateDraw(float deltaTime, float realDeltaTime)  - 
show
public void show()Description copied from interface:com.badlogic.gdx.ScreenCalled when this screen becomes the current screen for aGame. - 
updateSystems
public void updateSystems() - 
draw
public void draw(float realDeltaTime)  - 
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.ScreenCalled when this screen should release all resources.