Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addElementToMerge(BaseElement) - Method in class gamelogic.GameLogic
-
Adds an element to the merge slots and returns a potion when a recipe matches.
- application - package application
- attackFirstSoul(BasePotion) - Method in class gamelogic.GameLogic
-
Attacks the first soul in the belt.
- attackSoulAt(int, BasePotion) - Method in class gamelogic.GameLogic
-
Attacks a soul at the given belt index and refills the belt if defeated.
B
- backButtonConfirmationHandler(Button) - Method in class gui.GameScreen
-
Shows a confirmation dialog before returning to the main menu.
- BaseElement - Class in gameelement.element
-
Base model for every selectable element used in potion recipes.
- BaseElement(String, String) - Constructor for class gameelement.element.BaseElement
-
Creates an element with its display name and image resource path.
- BasePotion - Class in gameelement.potion
-
Base model for potions created by merging two elements.
- BasePotion(String, String) - Constructor for class gameelement.potion.BasePotion
-
Creates a potion with its display name and image resource path.
- BaseSoul - Class in gameelement.soul
-
Base model for all souls that appear on the conveyor belt.
- BaseSoul(int, PotionType, String) - Constructor for class gameelement.soul.BaseSoul
-
Creates a soul with HP, weakness type, and image resource path.
- BeAttackedAble - Interface in gameelement.soul
-
Contract for souls that can be checked and damaged by potions.
C
- canbeHitByPotion(BasePotion) - Method in class gameelement.soul.BaseSoul
-
Checks whether the potion matches this soul weakness.
- canbeHitByPotion(BasePotion) - Method in interface gameelement.soul.BeAttackedAble
-
Checks whether a potion matches this soul weakness.
- charmPower - Variable in class gameelement.potion.StarloveCharmPotion
-
Extra charm value reserved for Starlove Charm behavior.
- clearMergeSlots() - Method in class gamelogic.GameLogic
-
Clears all currently selected merge elements.
- CreditScreen - Class in gui
-
Credit screen with a background image and back navigation.
- CreditScreen(Main) - Constructor for class gui.CreditScreen
-
Builds the credit screen and its back button.
- currentLevel - Static variable in class gui.LevelSelectionScreen
-
Last level selected by the player.
D
- decreaseTime() - Method in class gamelogic.TimeLeftManager
-
Decreases remaining time by one second, stopping at zero.
- DewDropElement - Class in gameelement.element
-
Dew Drop ingredient used in potion recipes.
- DewDropElement() - Constructor for class gameelement.element.DewDropElement
-
Creates a Dew Drop element with its default name and image.
- DREAM_MIST - Enum constant in enum class gameelement.potion.PotionType
-
Dream Mist potion and soul type.
- DreamMistPotion - Class in gameelement.potion
-
Potion made from Star Dust and Dew Drop.
- DreamMistPotion() - Constructor for class gameelement.potion.DreamMistPotion
-
Creates a Dream Mist potion with its recipe, type, and power.
- DreamMistSoul - Class in gameelement.soul
-
Dream Mist soul with random HP and Dream Mist weakness.
- DreamMistSoul() - Constructor for class gameelement.soul.DreamMistSoul
-
Creates a Dream Mist soul with randomized HP.
E
- ENERGY_SPLASH - Enum constant in enum class gameelement.potion.PotionType
-
Energy Splash potion and soul type.
- EnergySplashPotion - Class in gameelement.potion
-
Potion made from Spark Ember and Dew Drop.
- EnergySplashPotion() - Constructor for class gameelement.potion.EnergySplashPotion
-
Creates an Energy Splash potion with its recipe, type, and power.
- EnergySplashSoul - Class in gameelement.soul
-
Energy Splash soul with random HP and Energy Splash weakness.
- EnergySplashSoul() - Constructor for class gameelement.soul.EnergySplashSoul
-
Creates an Energy Splash soul with randomized HP.
G
- GAME_HEIGHT - Static variable in class application.Main
-
Base game height used by all screens.
- GAME_WIDTH - Static variable in class application.Main
-
Base game width used by all screens.
- gameelement.element - package gameelement.element
- gameelement.potion - package gameelement.potion
- gameelement.soul - package gameelement.soul
- gamelogic - package gamelogic
- GameLogic - Class in gamelogic
-
Main gameplay controller for soul generation, timer, attacks, and merging.
- GameLogic(int) - Constructor for class gamelogic.GameLogic
-
Creates gameplay state for the selected level.
- GameScreen - Class in gui
-
Gameplay screen that renders elements, potions, souls, timer, and drag actions.
- GameScreen(Main, int) - Constructor for class gui.GameScreen
-
Builds the gameplay screen for a level and starts its timer.
- generateSoul(int) - Method in class gamelogic.SoulGenerator
-
Generates one random soul allowed for the given level.
- getDefeatedSoulCount() - Method in class gamelogic.GameLogic
-
Gets the number of souls defeated in this level.
- getFirstSoul() - Method in class gamelogic.GameLogic
-
Gets the first soul waiting in the belt.
- getImagePath() - Method in class gameelement.element.BaseElement
-
Gets the image resource path for this element.
- getImagePath() - Method in class gameelement.potion.BasePotion
-
Gets the image resource path for this potion.
- getImagePath() - Method in class gameelement.soul.BaseSoul
-
Gets the image resource path for this soul.
- getLevel() - Method in class gamelogic.GameLogic
-
Gets the current level number.
- getMergeSlots() - Method in class gamelogic.GameLogic
-
Gets the current merge slot contents.
- getName() - Method in class gameelement.element.BaseElement
-
Gets the element display name.
- getPotionName() - Method in class gameelement.potion.BasePotion
-
Gets the potion display name.
- getPotionPower() - Method in class gameelement.potion.BasePotion
-
Gets the damage power of this potion.
- getPotionRecipe() - Method in class gameelement.potion.BasePotion
-
Gets the two element classes required to create this potion.
- getPotionType() - Method in class gameelement.potion.BasePotion
-
Gets the potion type used for soul weakness matching.
- getSoulBeltAsList() - Method in class gamelogic.GameLogic
-
Gets a copy of the current soul belt.
- getSoulHP() - Method in class gameelement.soul.BaseSoul
-
Gets the current soul HP.
- getTimeLeft() - Method in class gamelogic.GameLogic
-
Gets the current remaining time.
- getTimeLeft() - Method in class gamelogic.TimeLeftManager
-
Gets the current remaining time.
- getTotalSoulRequired() - Method in class gamelogic.GameLogic
-
Gets the total souls required to complete this level.
- getTotalTimeFromLevel(int) - Method in class gamelogic.TimeLeftManager
-
Gets the starting time configured for a level.
- getWeaknessType() - Method in class gameelement.soul.BaseSoul
-
Gets the potion type that can damage this soul.
- gui - package gui
H
- handleElementButton(BaseElement) - Method in class gui.GameScreen
-
Sends a selected element to the merge system and updates the screen.
- HeartBerryElement - Class in gameelement.element
-
Heart Berry ingredient used in potion recipes.
- HeartBerryElement() - Constructor for class gameelement.element.HeartBerryElement
-
Creates a Heart Berry element with its default name and image.
- HowToPlayScreen - Class in gui
-
How-to-play screen with a background image and back navigation.
- HowToPlayScreen(Main) - Constructor for class gui.HowToPlayScreen
-
Builds the how-to-play screen and its back button.
I
- imagePath - Variable in class gameelement.element.BaseElement
-
Element image resource path.
- imagePath - Variable in class gameelement.potion.BasePotion
-
Potion image resource path.
- isGameOver() - Method in class gamelogic.GameLogic
-
Checks whether the game has ended.
- isLevelComplete() - Method in class gamelogic.GameLogic
-
Checks whether the player has defeated enough souls for the level.
- isTimeUp() - Method in class gamelogic.GameLogic
-
Checks whether the timer has reached zero.
- isTimeUp() - Method in class gamelogic.TimeLeftManager
-
Checks whether time has run out.
L
- levelLabelHandling(Label, int) - Method in class gui.GameScreen
-
Sets the level label text and position.
- LevelSelectionScreen - Class in gui
-
Screen that lets the player choose the level before gameplay starts.
- LevelSelectionScreen(Main) - Constructor for class gui.LevelSelectionScreen
-
Builds level buttons and stores the selected level before opening gameplay.
M
- main(String[]) - Static method in class application.Main
-
Launches the JavaFX application.
- Main - Class in application
-
JavaFX entry point that controls screen navigation for PotionMixie.
- Main() - Constructor for class application.Main
-
Creates the JavaFX application entry object.
- MainMenuScreen - Class in gui
-
Main menu screen with navigation buttons to play, help, and credits.
- MainMenuScreen(Main) - Constructor for class gui.MainMenuScreen
-
Builds the main menu screen and wires navigation buttons.
- MergeAble - Interface in gameelement.potion
-
Contract for potions that can validate a two-element merge recipe.
N
- name - Variable in class gameelement.element.BaseElement
-
Element display name.
- NOVA_SPARK - Enum constant in enum class gameelement.potion.PotionType
-
Nova Spark potion and soul type.
- NovaSparkPotion - Class in gameelement.potion
-
Potion made from Star Dust and Spark Ember.
- NovaSparkPotion() - Constructor for class gameelement.potion.NovaSparkPotion
-
Creates a Nova Spark potion with its recipe, type, and power.
- NovaSparkSoul - Class in gameelement.soul
-
Nova Spark soul with random HP and Nova Spark weakness.
- NovaSparkSoul() - Constructor for class gameelement.soul.NovaSparkSoul
-
Creates a Nova Spark soul with randomized HP.
P
- PASSION_POP - Enum constant in enum class gameelement.potion.PotionType
-
Passion Pop potion and soul type.
- PassionPopPotion - Class in gameelement.potion
-
Potion made from Heart Berry and Spark Ember.
- PassionPopPotion() - Constructor for class gameelement.potion.PassionPopPotion
-
Creates a Passion Pop potion with its recipe, type, and power.
- PassionPopSoul - Class in gameelement.soul
-
Passion Pop soul with random HP and Passion Pop weakness.
- PassionPopSoul() - Constructor for class gameelement.soul.PassionPopSoul
-
Creates a Passion Pop soul with randomized HP.
- potionMatchesRecipe(List) - Method in class gameelement.potion.BasePotion
-
Checks whether the selected elements match this potion recipe.
- potionMatchesRecipe(List) - Method in class gameelement.potion.DreamMistPotion
-
Checks whether the selected elements can merge into Dream Mist.
- potionMatchesRecipe(List) - Method in class gameelement.potion.EnergySplashPotion
-
Checks whether the selected elements can merge into Energy Splash.
- potionMatchesRecipe(List) - Method in interface gameelement.potion.MergeAble
-
Checks whether the given elements match this potion recipe.
- potionMatchesRecipe(List) - Method in class gameelement.potion.NovaSparkPotion
-
Checks whether the selected elements can merge into Nova Spark.
- potionMatchesRecipe(List) - Method in class gameelement.potion.PassionPopPotion
-
Checks whether the selected elements can merge into Passion Pop.
- potionMatchesRecipe(List) - Method in class gameelement.potion.SoothingLovePotion
-
Checks whether the selected elements can merge into Soothing Love.
- potionMatchesRecipe(List) - Method in class gameelement.potion.StarloveCharmPotion
-
Checks whether the selected elements can merge into Starlove Charm.
- potionName - Variable in class gameelement.potion.BasePotion
-
Potion display name.
- potionPower - Variable in class gameelement.potion.BasePotion
-
Damage dealt by this potion.
- potionRecipe - Variable in class gameelement.potion.BasePotion
-
Element classes required to create this potion.
- potionType - Variable in class gameelement.potion.BasePotion
-
Potion type used for matching soul weakness.
- PotionType - Enum Class in gameelement.potion
-
Potion categories that also represent each soul weakness.
- progressLabelLayoutHandling(Label) - Method in class gui.GameScreen
-
Sets the progress label text, font, and position.
R
- randomizeDreamSoulHP() - Static method in class gameelement.soul.DreamMistSoul
-
Generates HP for a Dream Mist soul.
- randomizeEnergySoulHP() - Static method in class gameelement.soul.EnergySplashSoul
-
Generates HP for an Energy Splash soul.
- randomizeNovaSoulHP() - Static method in class gameelement.soul.NovaSparkSoul
-
Generates HP for a Nova Spark soul.
- randomizePassionSoulHP() - Static method in class gameelement.soul.PassionPopSoul
-
Generates HP for a Passion Pop soul.
- randomizeSoothingSoulHP() - Static method in class gameelement.soul.SoothingLoveSoul
-
Generates HP for a Soothing Love soul.
- randomizeStarloveSoulHP() - Static method in class gameelement.soul.StarloveCharmSoul
-
Generates HP for a Starlove Charm soul.
S
- setButtonLayout(Button, int, int, int, int) - Method in class gui.CreditScreen
-
Scales a transparent button from base artwork coordinates.
- setButtonLayout(Button, int, int, int, int) - Method in class gui.GameScreen
-
Scales a transparent button from base artwork coordinates.
- setButtonLayout(Button, int, int, int, int) - Method in class gui.HowToPlayScreen
-
Scales a transparent button from base artwork coordinates.
- setButtonLayout(Button, int, int, int, int) - Method in class gui.LevelSelectionScreen
-
Scales a transparent button from base artwork coordinates.
- setButtonLayout(Button, int, int, int, int) - Method in class gui.MainMenuScreen
-
Scales a transparent button from base artwork coordinates.
- setImagePath(String) - Method in class gameelement.potion.BasePotion
-
Sets the image resource path for this potion.
- setImagePath(String) - Method in class gameelement.soul.BaseSoul
-
Sets the image resource path for this soul.
- setPotionName(String) - Method in class gameelement.potion.BasePotion
-
Sets the potion display name.
- setPotionPower(int) - Method in class gameelement.potion.BasePotion
-
Sets the potion damage power and clamps negative values to zero.
- setPotionRecipe(List) - Method in class gameelement.potion.BasePotion
-
Sets the element classes required to create this potion.
- setPotionType(PotionType) - Method in class gameelement.potion.BasePotion
-
Sets the potion type used for soul weakness matching.
- setSoulHP(int) - Method in class gameelement.soul.BaseSoul
-
Sets soul HP and clamps negative values to zero.
- setWeaknessType(PotionType) - Method in class gameelement.soul.BaseSoul
-
Sets the potion type that can damage this soul.
- showCreditScreen() - Method in class application.Main
-
Shows the credit screen.
- showGameScreen() - Method in class application.Main
-
Shows the game screen using the currently selected level.
- showHowToPlayScreen() - Method in class application.Main
-
Shows the how-to-play screen.
- showLevelSelectionScreen() - Method in class application.Main
-
Shows the level selection screen.
- showMainMenuScreen() - Method in class application.Main
-
Shows the main menu screen.
- showPotionInMergeStation(BasePotion) - Method in class gui.GameScreen
-
Displays a created potion in the merge station.
- SOOTHING_LOVE - Enum constant in enum class gameelement.potion.PotionType
-
Soothing Love potion and soul type.
- SoothingLovePotion - Class in gameelement.potion
-
Potion made from Heart Berry and Dew Drop.
- SoothingLovePotion() - Constructor for class gameelement.potion.SoothingLovePotion
-
Creates a Soothing Love potion with its recipe, type, and power.
- SoothingLoveSoul - Class in gameelement.soul
-
Soothing Love soul with random HP and Soothing Love weakness.
- SoothingLoveSoul() - Constructor for class gameelement.soul.SoothingLoveSoul
-
Creates a Soothing Love soul with randomized HP.
- SoulGenerator - Class in gamelogic
-
Creates random soul instances based on the current level unlocks.
- SoulGenerator() - Constructor for class gamelogic.SoulGenerator
-
Creates a soul generator with its own randomizer.
- SparkEmberElement - Class in gameelement.element
-
Spark Ember ingredient used in potion recipes.
- SparkEmberElement() - Constructor for class gameelement.element.SparkEmberElement
-
Creates a Spark Ember element with its default name and image.
- StarDustElement - Class in gameelement.element
-
Star Dust ingredient used in potion recipes.
- StarDustElement() - Constructor for class gameelement.element.StarDustElement
-
Creates a Star Dust element with its default name and image.
- STARLOVE_CHARM - Enum constant in enum class gameelement.potion.PotionType
-
Starlove Charm potion and soul type.
- StarloveCharmPotion - Class in gameelement.potion
-
Potion made from Heart Berry and Star Dust.
- StarloveCharmPotion() - Constructor for class gameelement.potion.StarloveCharmPotion
-
Creates a Starlove Charm potion with its recipe, type, and power.
- StarloveCharmSoul - Class in gameelement.soul
-
Starlove Charm soul with random HP and Starlove Charm weakness.
- StarloveCharmSoul() - Constructor for class gameelement.soul.StarloveCharmSoul
-
Creates a Starlove Charm soul with randomized HP.
- start(Stage) - Method in class application.Main
-
Sets up the main stage and opens the main menu screen.
T
- takeDamageFromPotion(BasePotion) - Method in class gameelement.soul.BaseSoul
-
Applies potion damage when the potion matches this soul weakness.
- takeDamageFromPotion(BasePotion) - Method in interface gameelement.soul.BeAttackedAble
-
Applies damage from a potion if it matches the soul weakness.
- timeLabelLayoutHandling(Label) - Method in class gui.GameScreen
-
Sets the time label text, font, and position.
- TimeLeftManager - Class in gamelogic
-
Tracks remaining game time for each level.
- TimeLeftManager(int) - Constructor for class gamelogic.TimeLeftManager
-
Creates a timer using the configured time for the selected level.
U
- updateMergeBoardUI() - Method in class gui.GameScreen
-
Clears merge selection display after the merge state changes.
- updateProgressLabel() - Method in class gui.GameScreen
-
Refreshes the defeated soul progress label.
- updateSoulBeltUI() - Method in class gui.GameScreen
-
Refreshes all visible soul slots from the current soul belt.
- updateTimer() - Method in class gamelogic.GameLogic
-
Decreases the timer and ends the game when time reaches zero.
V
- valueOf(String) - Static method in enum class gameelement.potion.PotionType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class gameelement.potion.PotionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values