Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
U
- uniqueMovement() - Method in class fr.paris.saclay.sidescroller.drawables.entities.enemies.Bat
-
Bats fy up and down while moving forward.
- uniqueMovement() - Method in class fr.paris.saclay.sidescroller.drawables.entities.enemies.Ghost
-
Ghosts have a slight vertical movement so that it looks like they are "floating".
- uniqueMovement() - Method in class fr.paris.saclay.sidescroller.drawables.entities.Entity
-
Defines unique movement for each entity, currently implemented in enemies.
- UP_LEFT - Enum constant in enum class fr.paris.saclay.sidescroller.utils.Direction
-
Up left direction.
- UP_RIGHT - Enum constant in enum class fr.paris.saclay.sidescroller.utils.Direction
-
Up right direction.
- update() - Method in class fr.paris.saclay.sidescroller.controllers.components.GamePanel
-
Handles update for each entity/drawable.
- update() - Method in class fr.paris.saclay.sidescroller.drawables.Background
-
Handles Background movement.
- update() - Method in class fr.paris.saclay.sidescroller.drawables.Drawable
-
This method is called by the GamePanel every time a new frame has to be generated.
- update() - Method in class fr.paris.saclay.sidescroller.drawables.entities.Entity
-
Defines actions for each frame: chasePlayer: tracks players movement and defines the shortest path to it.
- update() - Method in class fr.paris.saclay.sidescroller.drawables.entities.Player
-
Defines actions for each frame and handles sprite changes.
- update() - Method in class fr.paris.saclay.sidescroller.drawables.Terrain
- updateHitboxPosition() - Method in class fr.paris.saclay.sidescroller.drawables.entities.Entity
-
Updates the position of the entity's hitbox according to the entity's position inside the screen.
- updateImage() - Method in class fr.paris.saclay.sidescroller.controllers.components.menu.GameMenuUI
-
Updates the menu background during animation.
- updatePositionToCamera(int) - Method in class fr.paris.saclay.sidescroller.drawables.Drawable
-
Updates camera position by setting it equal to the distance travelled by the player.
- updateSprites() - Method in class fr.paris.saclay.sidescroller.drawables.entities.enemies.Ghost
-
Activates "invisible" sprite every other 60 frames.
- updateSprites() - Method in class fr.paris.saclay.sidescroller.drawables.entities.Entity
-
Entities present a default version of the
updateSprites()
method. - updateTheme(String) - Method in class fr.paris.saclay.sidescroller.controllers.components.menu.ImagePreview
-
Updates displayed preview when clicking next/previous buttons on selection menu.
- upPressed - Variable in class fr.paris.saclay.sidescroller.controllers.components.GamePanel
-
Flags identifying if certain keyboard keys are pressed.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form