Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
C
- CAMERA_MIN_LEFT - Static variable in class fr.paris.saclay.sidescroller.utils.Constants
-
Camera's offset bound for left direction: when the player walks left the camera is updated before reaching the end of the screen.
- CAMERA_MIN_RIGHT - Static variable in class fr.paris.saclay.sidescroller.utils.Constants
-
Camera's offset bound for right direction: when the player reaches the half of the screen it stops and the camera is updated.
- chasePlayer() - Method in class fr.paris.saclay.sidescroller.drawables.entities.Entity
-
This method makes the entity chase the player on the X axis until its hitbox collides with the one of the player.
- checkCollision() - Method in class fr.paris.saclay.sidescroller.controllers.components.GamePanel
-
Check collisions of drawn entities.
- checkCollision(Player, Entity, boolean) - Method in class fr.paris.saclay.sidescroller.controllers.CollisionDetector
-
Checks collisions between the player and the enemies.
- close() - Method in class fr.paris.saclay.sidescroller.controllers.components.musicPlayer.MusicPlayer
-
Close audio clip.
- CollisionDetector - Class in fr.paris.saclay.sidescroller.controllers
-
Handles entities' collisions.
- CollisionDetector() - Constructor for class fr.paris.saclay.sidescroller.controllers.CollisionDetector
- Constants - Class in fr.paris.saclay.sidescroller.utils
-
Utils class used to store common methods and variables.
- Constants() - Constructor for class fr.paris.saclay.sidescroller.utils.Constants
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form