Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
P
- pacManEffect() - Method in class model.bubbles.BubbleModel
-
Applies the Pac-Man effect to the bubble, allowing it to wrap around the screen vertically.
- paintComponent(Graphics) - Method in class view.GamePanel
-
Paints the component by synchronizing the graphics state and rendering the game.
- PEPPER - Enum constant in enum class model.utilz.Constants.Items.BubbleRewardType
- PERSIMMON - Enum constant in enum class model.utilz.Constants.Items.BubbleRewardType
- PLAYER_BUBBLE - Enum constant in enum class model.utilz.Constants.Projectiles.ProjectileType
- PLAYER_BUBBLE_SPEED - Static variable in interface model.utilz.Constants.Projectiles
- PLAYER_DEATH - Static variable in interface view.utilz.Constants.AudioConstants
- PLAYER_H - Static variable in interface model.utilz.Constants.PlayerConstants
- PLAYER_SPRITE - Static variable in interface view.utilz.Load
- PLAYER_START_X - Static variable in interface model.utilz.Constants.INTRO
- PLAYER_START_Y - Static variable in interface model.utilz.Constants.INTRO
- PLAYER_TRANSITION_SPRITE - Static variable in interface view.utilz.Load
- PLAYER_W - Static variable in interface model.utilz.Constants.PlayerConstants
- PlayerBubbleModel - Class in model.bubbles.playerBubbles
-
Abstract model for player bubbles.
- PlayerBubbleModel(float, float, Constants.Direction) - Constructor for class model.bubbles.playerBubbles.PlayerBubbleModel
-
Constructs a new PlayerBubbleModel.
- PlayerBubbleProjectileModel - Class in model.projectiles
-
Represents the logic of a player bubble projectile in the game.
- PlayerBubbleProjectileModel(float, float, Constants.Direction) - Constructor for class model.projectiles.PlayerBubbleProjectileModel
-
Constructs a PlayerBubbleProjectileModel with the specified position and direction.
- PlayerBubbleProjectileView - Class in view.projectiles
-
The PlayerBubbleProjectileView class represents the view of the
PlayerBubbleProjectileModelclass. - PlayerBubbleProjectileView(ProjectileModel) - Constructor for class view.projectiles.PlayerBubbleProjectileView
-
Constructs a PlayerBubbleProjectileView with the specified ProjectileModel.
- PlayerBubblesManagerModel - Class in model.bubbles.playerBubbles
-
Manages the bubbles created by the player.
- PlayerBubblesManagerView - Class in view.bubbles.playerBubbles
-
The PlayerBubblesManagerView class manages the view for player bubbles in the game.
- PlayerBubbleView - Class in view.bubbles.playerBubbles
-
The PlayerBubbleView class is an abstract class that represents the view for a
PlayerBubbleModel. - PlayerBubbleView(BubbleModel) - Constructor for class view.bubbles.playerBubbles.PlayerBubbleView
-
Constructs a PlayerBubbleView with the specified BubbleModel.
- PlayerController - Class in controller.classes
-
Controller for handling the user interaction with the player.
- PlayerController(PlayerModel) - Constructor for class controller.classes.PlayerController
-
Constructs a new PlayerController.
- PlayerModel - Class in model.entities
-
Represents the player character in the game.
- playerPop(PlayerModel) - Method in class model.bubbles.playerBubbles.EnemyBubbleModel
-
Handles the player popping the enemy bubble.
- playerPop(PlayerModel) - Method in class model.bubbles.specialBubbles.LightningBubbleModel
-
Handles the player popping the lightning bubble.
- playerPop(PlayerModel) - Method in class model.bubbles.specialBubbles.SpecialBubbleModel
-
Handles the player popping the special bubble.
- playerPop(PlayerModel) - Method in class model.bubbles.specialBubbles.WaterBubbleModel
-
Handles the player popping the water bubble.
- playerPop(PlayerModel, int, ChainReactionManager) - Method in class model.bubbles.playerBubbles.EmptyBubbleModel
-
Handles the player popping the bubble, this overloaded method is used only by the
ChainReactionManager. - playerPop(PlayerModel, int, ChainReactionManager) - Method in class model.bubbles.playerBubbles.EnemyBubbleModel
-
Handles the player popping the bubble, this method is only used by the
ChainReactionManager. - playerPop(PlayerModel, int, ChainReactionManager) - Method in class model.bubbles.playerBubbles.PlayerBubbleModel
-
Handles the player popping the bubble, this overloaded method is used only by the
ChainReactionManager. - playerTileX - Variable in class model.entities.EnemyModel
- playerTileY - Variable in class model.entities.EnemyModel
- PlayerView - Class in view.entities
-
The PlayerView class represents the view for a
PlayerModel. - PlayerView(PlayerModel) - Constructor for class view.entities.PlayerView
-
Constructs a PlayerView with the specified PlayerModel.
- PLAYING - Enum constant in enum class model.gameStates.GameState
- PLAYING_SONG - Static variable in interface view.utilz.Constants.AudioConstants
- PlayingController - Class in controller.classes
-
Controller for handling the user interaction during the playing state of the game.
- PlayingController(PlayingModel, PlayingView) - Constructor for class controller.classes.PlayingController
-
Constructs a new PlayingController.
- PlayingHud - Class in view.overlays.gameOverlays
-
The PlayingHud class is responsible for displaying the player's score and lives on the screen.
- playingModel - Variable in class view.overlays.gameOverlays.GameOverlayView
- PlayingModel - Class in model.gameStates
- PlayingModel() - Constructor for class model.gameStates.PlayingModel
- PlayingTimer - Class in model.utilz
-
Singleton class that manages the playing timer, used to heep track of the time delta between updates.
- PlayingView - Class in view.gameStates
-
The PlayingView class represents the view for the
PlayingModel. - PlayingView(PlayingModel) - Constructor for class view.gameStates.PlayingView
-
Constructs a PlayingView with the specified models and controllers.
- playIntroSong() - Method in class view.audio.AudioPlayer
-
Plays the intro song and sets up a listener to play the main song after the intro ends.
- playPlayingSong() - Method in class view.audio.AudioPlayer
-
Plays the main playing song in a loop.
- playSoundEffect() - Method in class view.projectiles.LightingProjectileView
-
Plays the sound effect associated with the projectile.
- playSoundEffect() - Method in class view.projectiles.MaitaFireProjectileView
-
Plays the sound effect associated with the projectile.
- playSoundEffect() - Method in class view.projectiles.PlayerBubbleProjectileView
-
Plays the sound effect associated with the projectile.
- playSoundEffect() - Method in class view.projectiles.ProjectileView
-
Plays the sound effect associated with the projectile.
- playSoundEffect(int) - Method in class view.audio.AudioPlayer
-
Plays the specified sound effect.
- PointsModel - Class in model.itemesAndRewards
-
Represents a points item in the game.
- PointsModel(int, float, float, Constants.PointsManager.PointsType) - Constructor for class model.itemesAndRewards.PointsModel
-
Constructs a new `PointsModel` with the specified value, position, and type.
- PointsView - Class in view.itemsAndRewards
-
The PointsView class represents the view for the
PointsModelclass. - PointsView(PointsModel) - Constructor for class view.itemsAndRewards.PointsView
-
Constructs a PointsView with the specified PointsModel.
- pop() - Method in class model.bubbles.playerBubbles.EmptyBubbleModel
-
Pops the bubble and updates its state.
- pop() - Method in class model.bubbles.playerBubbles.EnemyBubbleModel
-
Pops the bubble and updates its state.
- pop() - Method in class model.bubbles.playerBubbles.PlayerBubbleModel
-
Pops the bubble and updates its state.
- POP_NORMAL - Static variable in interface model.utilz.Constants.Bubble
- POP_RED - Static variable in interface model.utilz.Constants.Bubble
- POP_TIMER - Static variable in interface model.utilz.Constants.Bubble
- popped - Variable in class model.bubbles.BubbleModel
- POPPED - Static variable in interface model.utilz.Constants.Bubble
- popTimer - Variable in class model.bubbles.BubbleModel
- POWER_UP - Enum constant in enum class model.utilz.Constants.Items.ItemType
- POWER_UP_COLLECTED - Static variable in interface view.utilz.Constants.AudioConstants
- PowerUpManagerModel - Class in model.itemesAndRewards
-
Manages the power-ups in the game.
- PowerUpModel - Class in model.itemesAndRewards
-
Contains the logic a power-up item in the game.
- PowerUpModel(int, int, Constants.Items.PowerUpType) - Constructor for class model.itemesAndRewards.PowerUpModel
-
Constructs a new PowerUpModel with the specified position and power-up type.
- PowerUpView - Class in view.itemsAndRewards
-
The PowerUpView class represents the view for the
PowerUpModelclass. - PowerUpView(ItemModel) - Constructor for class view.itemsAndRewards.PowerUpView
-
Constructs a PowerUpView with the specified ItemModel.
- previousDirection - Variable in class model.bubbles.BubbleModel
- previousModelState - Variable in class view.bubbles.playerBubbles.PlayerBubbleView
- previousState - Variable in class model.bubbles.BubbleModel
- previousWalkingDir - Variable in class model.entities.EnemyModel
- PROJECTILE_ANIMATION_SPEED - Static variable in interface view.utilz.Constants.Projectiles
- PROJECTILE_FIREBALL_SPRITE - Static variable in interface view.utilz.Load
- ProjectileManagerModel - Class in model.projectiles
-
Game logic for managing all projectiles.
- projectileManagerView - Variable in class view.projectiles.ProjectileView
- ProjectileManagerView - Class in view.projectiles
-
The ProjectileManagerView class is responsible for managing
ProjectileViews. - projectileModel - Variable in class view.projectiles.ProjectileView
- ProjectileModel - Class in model.projectiles
-
Abstract class representing the model of projectile objects in the game.
- ProjectileModel(float, float, Constants.Direction, Constants.Projectiles.ProjectileType) - Constructor for class model.projectiles.ProjectileModel
-
Constructs a ProjectileModel with the specified position, direction, and type.
- ProjectileView - Class in view.projectiles
-
Abstract class representing the view of the
ProjectileModelclass. - ProjectileView(ProjectileModel) - Constructor for class view.projectiles.ProjectileView
-
Constructs a ProjectileView with the specified ProjectileModel.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form