Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
D
- direction - Variable in class fr.paris.saclay.sidescroller.drawables.Drawable
-
Drawable's facing direction
- Direction - Enum Class in fr.paris.saclay.sidescroller.utils
-
Defines direction for each entity.
- displayNormalMenu(GameMenuModel) - Method in class fr.paris.saclay.sidescroller.controllers.components.menu.GameMenuUI
-
Display initial menu after animation concludes.
- draw(Graphics2D) - Method in class fr.paris.saclay.sidescroller.drawables.Background
-
Renders the component into the scene.
- draw(Graphics2D) - Method in class fr.paris.saclay.sidescroller.drawables.Drawable
-
Each Drawable object must implement a method to be rendered inside the JFrame.
- draw(Graphics2D) - Method in class fr.paris.saclay.sidescroller.drawables.entities.Entity
-
Entities present a default version of the
draw()
method. - draw(Graphics2D) - Method in class fr.paris.saclay.sidescroller.drawables.entities.Player
-
Draws the player sprite based on the current action.
- draw(Graphics2D) - Method in class fr.paris.saclay.sidescroller.drawables.Terrain
-
Draws the component.
- Drawable - Class in fr.paris.saclay.sidescroller.drawables
-
Basic template for each object drawn on the screen excluding player UI.
- Drawable(GamePanel) - Constructor for class fr.paris.saclay.sidescroller.drawables.Drawable
-
Creates a Drawable instance and saves GamePanel reference.
- drawHpBar(Graphics2D) - Method in class fr.paris.saclay.sidescroller.drawables.entities.Entity
-
Draws enemies life points on top of them: green bar with red chunks for each lost life point.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form