Index

A B C D E F G H I J K L M N O P R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values

C

Character - Class in core
Abstract base class representing a character in the game.
Character(double, double, int, int, double) - Constructor for class core.Character
Constructs a new Character.
characters - Variable in class rooms.Room
 
CharacterType - Enum Class in util
Enumeration representing the different types of characters in the game.
CharacterType() - Constructor for enum class util.CharacterType
 
charge() - Method in class entities.enemies.Boss
Boss ability: charges toward a target near the player.
chargeSpeed - Static variable in class entities.enemies.Boss
Charging speed of the boss (pixels/sec).
chargeSpeed - Static variable in class entities.enemies.Chaser
Charging speed when aligned with the player.
Chaser - Class in entities.enemies
Represents a Chaser enemy in the game.
Chaser(double, double, Room, Player, int, int, double) - Constructor for class entities.enemies.Chaser
Constructs a new Chaser enemy.
CHASER_SPRITE - Static variable in class entities.enemies.Chaser
Static image used to render the Chaser sprite.
ChaserType - Enum constant in enum class util.CharacterType
Chaser enemy type
Coin - Class in entities.items
A collectible coin item.
Coin(double, double) - Constructor for class entities.items.Coin
Constructs a new Coin at the specified position.
COIN_SPRITE - Static variable in class entities.items.Coin
Coin sprite image.
COIN_SPRITE - Static variable in class entities.items.MysteryBox
Coin icon sprite for displaying cost.
COINAMOUNT - Static variable in class entities.items.TreasureBox
Amount of coins granted when collected.
coins - Variable in class entities.player.Player
Coins collected by the player.
collect(Player) - Method in interface core.Collectible
Handles the action when the player collects this item.
collect(Player) - Method in class entities.items.Coin
Collects the coin, giving the player 1 coin and playing a sound effect.
collect(Player) - Method in class entities.items.HealthPot
Collects the health potion and restores HP to the player.
collect(Player) - Method in class entities.items.Item
Collects the item, applying its effect to the player.
collect(Player) - Method in class entities.items.MaxHealthUpgrade
Collects the item, increasing the player's max HP and restoring current HP to full.
collect(Player) - Method in class entities.items.MysteryBox
Collects the mystery box, randomly spawning a new item in the room.
collect(Player) - Method in class entities.items.StrengthPot
Collects the item and increases the player's attack power.
collect(Player) - Method in class entities.items.TreasureBox
Collects the treasure box and grants coins to the player.
collected - Variable in class entities.items.Item
Flag indicating whether the item has been collected.
Collectible - Interface in core
Interface representing objects that can be collected by a player.
CombatRoom - Class in rooms
A room where the player must defeat all enemies to unlock the door.
CombatRoom(double, double, double, double, Player) - Constructor for class rooms.CombatRoom
Constructs a CombatRoom with specified position, size, and player reference.
core - package core
 
cost - Variable in class entities.items.MysteryBox
Cost of the mystery box in coins.
createNextRoom() - Method in class game.RoomManager
Creates the next room based on the last digit of roomsCleared and intervals.
createTopDoor(Room) - Method in class game.RoomManager
Adds a door at the top of the room.
currentPlayer - Static variable in class util.BGMManager
 
currentRoom - Variable in class game.RoomManager
Currently active room
A B C D E F G H I J K L M N O P R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values