Class BossRoom


public class BossRoom extends CombatRoom
Represents a boss room, which is a specialized type of CombatRoom.

This room is intended to contain a boss enemy. It inherits all behavior from CombatRoom, including enemy updates, collision detection, and door locking/unlocking mechanics.

  • Constructor Details

    • BossRoom

      public BossRoom(double x, double y, double w, double h, Player player)
      Constructs a BossRoom with specified position, size, and player reference.
      Parameters:
      x - the x-coordinate of the top-left corner of the room
      y - the y-coordinate of the top-left corner of the room
      w - the width of the room
      h - the height of the room
      player - the player in this room