Index
All Classes and Interfaces|All Packages|Constant Field Values
O
- onBattleResult(BattleResult) - Method in class application.GameController
-
Receives the result of each battle turn, plays the appropriate animation, then updates the HP bars after the animation finishes.
- onBattleResult(BattleResult) - Method in interface model.game.GameEventListener
-
Notifies the UI of each turn's result so it can update HP bars and messages.
- onBattleStart(Entity, Entity) - Method in class application.GameController
-
Receives a battle-start event, creates the BattleScene, and shows action buttons.
- onBattleStart(Entity, Entity) - Method in interface model.game.GameEventListener
-
Notifies when a battle starts; the UI should create a BattleScene.
- onEnterMapPhase() - Method in class application.GameController
-
Configures the map phase screen when entering MAP_PHASE.
- onGameOver(Player) - Method in class application.GameController
-
Receives a game-over event, shows the GameOverScene, and binds its buttons.
- onGameOver(Player) - Method in interface model.game.GameEventListener
-
Notifies when the game ends.
- onGameStartHandler - Variable in class application.CharacterSelectScene
-
Callback invoked when both players have confirmed their characters; receives P1's and P2's classes.
- onItemPickedUp(Player) - Method in class application.GameController
-
Receives an item-pickup event and updates the inventory panel and map.
- onItemPickedUp(Player) - Method in interface model.game.GameEventListener
-
Notifies when a player picks up an item.
- onPlayerMoved(Player, int, int) - Method in class application.GameController
-
Receives a player-moved event, updates the animation on the BoardScene, and switches the turn.
- onPlayerMoved(Player, int, int) - Method in interface model.game.GameEventListener
-
Notifies when a player successfully moves.
- onRoundEnd(int) - Method in class application.GameController
-
Receives a round-end event on the map, updates stats and the round counter.
- onRoundEnd(int) - Method in interface model.game.GameEventListener
-
Notifies when a map round ends.
- onRoundEnd(int, MapGrid) - Method in class model.game.ZoneManager
-
Called at the end of every round to check whether the zone should shrink.
- onStateChanged(GameState) - Method in class application.GameController
-
Receives a state-change event and switches to the appropriate screen.
- onStateChanged(GameState) - Method in interface model.game.GameEventListener
-
Notifies when the GameState changes.
- onTomeApplied(Player, String) - Method in class application.GameController
-
Receives a tome-applied event after the player defeats a Goblin, updates stats, and shows a notification.
- onTomeApplied(Player, String) - Method in interface model.game.GameEventListener
-
Notifies when a TomeItem is applied to the winner after defeating a Goblin.
- onZoneShrunk(int) - Method in class application.GameController
-
Receives a zone-shrink event, redraws the map, and shows a notification.
- onZoneShrunk(int) - Method in interface model.game.GameEventListener
-
Notifies when the zone shrinks.
- openItemSelectionMenu(String[], Consumer<Integer>) - Method in class application.BattleScene
-
Switches the action menu to display item selection slots from the inventory.
- overlay(Image) - Method in class application.BoardScene
-
Creates a tile-sized ImageView to overlay on a base tile (e.g.
All Classes and Interfaces|All Packages|Constant Field Values