Index

A B C D E F G H I K L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values

S

scene - Variable in class application.BattleScene
Main JavaFX Scene for this screen.
scene - Variable in class application.BoardScene
Main JavaFX Scene for this screen.
scene - Variable in class application.CharacterSelectScene
Main JavaFX Scene for this screen.
scene - Variable in class application.GameOverScene
Main JavaFX Scene for this screen.
scene - Variable in class application.MainMenuScene
Main JavaFX Scene for this screen.
selectCharacter(int, CharacterType) - Method in class model.game.GameManager
Selects a character for the given player.
selectedItemIndex - Variable in class model.entity.Player
Index of the selected item in the inventory.
selectedType1 - Variable in class model.game.GameManager
Character type selected by player 1.
selectedType2 - Variable in class model.game.GameManager
Character type selected by player 2.
setAttackPower(int) - Method in class model.entity.Entity
Sets the attack power.
setBaseAttackPower(int) - Method in class model.entity.Entity
Sets the base attack power used when resetting.
setBaseDefense(int) - Method in class model.entity.Entity
Sets the base defense used when resetting.
setBattleOver(boolean) - Method in class model.battle.BattleResult
 
setCurrentHp(int) - Method in class model.entity.Entity
Sets HP directly, bypassing takeDamage — used for effects such as magic attacks.
setDamageDealt(int) - Method in class model.battle.ActionResult
 
setDefended(boolean) - Method in class model.battle.ActionResult
 
setDefending(boolean) - Method in class model.entity.Goblin
Sets the defending state.
setDefending(boolean) - Method in class model.entity.Player
Sets the defending state.
setDefense(int) - Method in class model.entity.Entity
Sets the defense value.
setDescription(String) - Method in class model.battle.ActionResult
 
setGoblin(Goblin) - Method in class model.map.Cell
 
setHealingDone(int) - Method in class model.battle.ActionResult
 
setInZone(boolean) - Method in class model.map.Cell
 
setItem(Item) - Method in class model.map.Cell
 
setItemUsed(boolean) - Method in class model.battle.ActionResult
 
setListener(GameEventListener) - Method in class model.game.GameManager
Registers the listener that will receive events from GameManager.
setLogText(String) - Method in class application.BattleScene
Sets the battle log text.
setLoser(Entity) - Method in class model.battle.BattleResult
 
setMaxHp(int) - Method in class model.entity.Entity
ตั้ง Maximum HP.
setOnGameStart(BiConsumer<String, String>) - Method in class application.CharacterSelectScene
Sets the callback to be invoked when both players have confirmed their characters.
setPlayerNumber(int) - Method in class model.entity.Player
Sets the player number.
setResultA(ActionResult) - Method in class model.battle.BattleResult
 
setResultB(ActionResult) - Method in class model.battle.BattleResult
 
setRoundText(String) - Method in class application.BoardScene
Updates the round text at the bottom.
setSelectedItemIndex(int) - Method in class model.entity.Player
Selects an item by its index in the inventory.
setSkillUsed(boolean) - Method in class model.battle.ActionResult
 
setState(GameState) - Method in class model.game.GameManager
Changes the game state and notifies the listener.
setTurnIndicator(boolean, String) - Method in class application.BattleScene
Updates the turn indicator text with the appropriate color for the active side.
setTurnText(String) - Method in class application.BoardScene
Updates the turn text at the bottom.
setType(CellType) - Method in class model.map.Cell
 
setupBattleButtonsForA() - Method in class application.GameController
Binds battle action buttons for side A (Player 1, or the side-A entity in PvP).
setupBattleButtonsForB() - Method in class application.GameController
Binds battle action buttons for side B (PvP only).
setupController() - Method in class application.CharacterSelectScene
Sets up keyboard listeners and character-confirmation logic.
setupKeyboard() - Method in class application.GameController
Sets up keyboard listeners on the BoardScene.
setWinner(Entity) - Method in class model.battle.BattleResult
 
showCharacterSelect() - Method in class application.GameController
Shows the character selection screen and sets the callback for when selection is complete.
showMainActionMenu() - Method in class application.BattleScene
Shows all 4 main action buttons.
showMainMenu() - Method in class application.GameController
Shows the Main Menu screen and binds the Start button.
showNotification(String) - Method in class application.BoardScene
Shows a temporary on-screen notification that disappears automatically after 2.5 seconds.
SHRINK_INTERVAL - Static variable in class model.game.ZoneManager
Number of rounds before the zone shrinks by 1 cell.
shuffleBag - Static variable in class model.map.MapLoader
Shuffle bag used to select maps without repetition.
SIZE - Static variable in class model.map.MapGrid
Map size (11x11).
skill - Variable in class model.entity.Player
The character's special skill.
Skill - Class in model.skill
A character's special skill that can be used once before entering a 3-turn cooldown.
Skill(String, SkillEffect) - Constructor for class model.skill.Skill
Creates a new Skill.
skillBtn - Variable in class application.BattleScene
Use Skill button
SkillEffect - Enum Class in model.skill
Skill effect types available to each character.
SkillEffect() - Constructor for enum class model.skill.SkillEffect
 
skillName - Variable in class model.skill.Skill
Skill name shown in the UI.
skillUsed - Variable in class model.battle.ActionResult
Whether a skill was used successfully.
stage - Variable in class application.GameController
The main JavaFX Stage of the application.
start(Stage) - Method in class application.Main
Automatically called by JavaFX after launch().
startBattle(Entity, Entity, BattleManager.BattleMode) - Method in class model.game.GameManager
Starts a new battle between entityA and entityB.
startBtn - Variable in class application.MainMenuScene
Start button that enters the game.
startGame() - Method in class model.game.GameManager
Starts a new game by loading a random map and navigating to the character selection screen.
state - Variable in class model.game.GameManager
Current game state.
StatType - Enum Class in model.item
Stat types that TomeItem randomly boosts after defeating a Goblin.
StatType() - Constructor for enum class model.item.StatType
 
stoneImg - Variable in class application.BoardScene
Image for rock tiles.
stopBgm(MediaPlayer) - Method in class application.GameController
Safely stops BGM playback without throwing an exception if the player is null.
submitA(BattleAction) - Method in class application.GameController
Submits side A's action to the GameManager.
submitActionA(BattleAction) - Method in class model.battle.BattleManager
Side A submits an action for this turn.
submitActionB(BattleAction) - Method in class model.battle.BattleManager
Side B submits an action for this turn (PvP mode only).
submitBattleAction(int, BattleAction) - Method in class model.game.GameManager
Submits a battle action from a player.
A B C D E F G H I K L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values