Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
B
- Background - Class in fr.paris.saclay.sidescroller.drawables
-
Drawable responsible for creating the background.
- Background(GamePanel, String) - Constructor for class fr.paris.saclay.sidescroller.drawables.Background
-
Creates a Background instance, saves the GamePanel reference and sets the theme (background related to the level selected in the initial menu).
- Bat - Class in fr.paris.saclay.sidescroller.drawables.entities.enemies
-
Bat enemy.
- Bat(GamePanel, int) - Constructor for class fr.paris.saclay.sidescroller.drawables.entities.enemies.Bat
-
Creates a Bat instance passing the GamePanel reference and initial position of the entity.
- block() - Method in class fr.paris.saclay.sidescroller.drawables.entities.Player
-
Handles block action.
Player cannot block during jumping, attacking, if it's already blocking or when currentStamina reaches 0. - BLOCK_LEFT - Enum constant in enum class fr.paris.saclay.sidescroller.utils.Direction
-
Block left direction.
- BLOCK_RIGHT - Enum constant in enum class fr.paris.saclay.sidescroller.utils.Direction
-
Block right direction.
- blockHitBox - Variable in class fr.paris.saclay.sidescroller.drawables.entities.Entity
-
Represents the area of the entity that is used to compute blocks with enemies or projectiles.
- blockHitboxSize - Variable in class fr.paris.saclay.sidescroller.drawables.entities.Entity
-
Hitbox size of block action.
- blockRelease() - Method in class fr.paris.saclay.sidescroller.drawables.entities.Player
-
Handles the block release by setting isBlocking to false and changing to walking animation.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form