Class NormalRoom

java.lang.Object
rooms.Room
rooms.NormalRoom

public class NormalRoom extends Room
Represents a standard room with no special behavior.

This room does not override the default update or rendering behavior from the base Room class. Used for starting (first) room.

  • Constructor Details

    • NormalRoom

      public NormalRoom(double x, double y, double w, double h, Player player)
      Constructs a NormalRoom 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