Index
All Classes and Interfaces|All Packages|Constant Field Values
P
- p1ArrowWrapper - Variable in class application.CharacterSelectScene
-
Wrapper pane for P1's selection arrow.
- p1Class - Variable in class application.BoardScene
-
Class of P1 (e.g.
- p1Class - Variable in class application.GameController
-
Class of P1 used to load sprites in the View.
- p1HpBar - Variable in class application.BoardScene
-
HP bar for P1.
- p1ImageView - Variable in class application.BoardScene
-
Sprite for P1 on the map.
- p1InventoryBox - Variable in class application.BoardScene
-
Inventory panel for P1 on the left side.
- p1MovedThisRound - Variable in class model.game.GameManager
-
Whether player 1 has moved this round.
- p1Name - Variable in class application.BoardScene
-
Name of P1.
- p1SelectedIndex - Variable in class application.CharacterSelectScene
-
Index of the character currently selected by P1 (0-3).
- p1StatText - Variable in class application.BoardScene
-
Stat text for P1.
- p1TurnToMove - Variable in class application.GameController
-
Whether it is P1's turn to move.
- p2ArrowWrapper - Variable in class application.CharacterSelectScene
-
Wrapper pane for P2's selection arrow.
- p2Class - Variable in class application.BoardScene
-
Class of P2.
- p2Class - Variable in class application.GameController
-
Class of P2 used to load sprites in the View.
- p2HpBar - Variable in class application.BoardScene
-
HP bar for P2.
- p2ImageView - Variable in class application.BoardScene
-
Sprite for P2 on the map.
- p2InventoryBox - Variable in class application.BoardScene
-
Inventory panel for P2 on the right side.
- p2MovedThisRound - Variable in class model.game.GameManager
-
Whether player 2 has moved this round.
- p2Name - Variable in class application.BoardScene
-
Name of P2.
- p2SelectedIndex - Variable in class application.CharacterSelectScene
-
Index of the character currently selected by P2 (0-3).
- p2StatText - Variable in class application.BoardScene
-
Stat text for P2.
- pause(double, Runnable) - Method in class application.GameController
-
Waits for the specified delay then runs the given Runnable.
- pendingActionA - Variable in class model.battle.BattleManager
-
Pending action chosen by side A, awaiting resolution.
- pendingActionB - Variable in class model.battle.BattleManager
-
Pending action chosen by side B, awaiting resolution.
- pendingGoblinCell - Variable in class model.game.GameManager
-
The goblin cell currently being fought (used to remove the goblin after the battle).
- pickUpItem(Item) - Method in class model.entity.Player
-
Picks up an item and adds it to the inventory if there is space.
- PIERCE - Enum constant in enum class model.skill.SkillEffect
-
Archer Strike — attack that fully bypasses defense.
- playActionAnimation(boolean, String, String, String, int, Runnable) - Method in class application.BattleScene
-
Plays a normal attack animation: swaps the sprite, shakes the target, then invokes the callback when done.
- playDefendEffect(String) - Method in class application.BattleScene
-
Displays a message indicating the fighter is taking a defensive stance.
- Player - Class in model.entity
-
Base class for all 4 player characters (Knight, Archer, Reborn, Alien).
- Player(String, int, int, int, int, Skill) - Constructor for class model.entity.Player
-
Creates a player with the specified starting stats.
- PLAYER_VS_GOBLIN - Enum constant in enum class model.battle.BattleManager.BattleMode
-
Player fights a Goblin AI.
- PLAYER_VS_PLAYER - Enum constant in enum class model.battle.BattleManager.BattleMode
-
Players fight each other.
- player1 - Variable in class model.game.GameManager
-
Player 1.
- player2 - Variable in class model.game.GameManager
-
Player 2.
- playerNumber - Variable in class model.entity.Player
-
Player number (1 or 2).
- playItemAnimation(boolean, String, Runnable) - Method in class application.BattleScene
-
Plays an item-use animation: switches to the potion-drinking pose, then invokes the callback.
- playSkillAnimation(boolean, String, String, String, int, Runnable) - Method in class application.BattleScene
-
Plays a skill animation, handling attack skills and heal skills separately.
- potionSound - Variable in class application.BattleScene
-
Sound effect played when drinking a potion
- processAction(Entity, BattleAction, Entity) - Method in class model.battle.BattleManager
-
Processes one entity's action.
All Classes and Interfaces|All Packages|Constant Field Values