Class NormalRoom
java.lang.Object
rooms.Room
rooms.NormalRoom
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.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionNormalRoom(double x, double y, double w, double h, Player player) Constructs a NormalRoom with specified position, size, and player reference. -
Method Summary
Methods inherited from class rooms.Room
addDoor, addEnemy, drawFog, getBullets, getCharacters, getDoorAtPlayer, getEnemies, getFloorSprite, getHeight, getItems, getLasers, getWidth, isActive, render, renderEntities, setActive, spawnBullet, spawnItems, spawnLaser, update, updateEntities
-
Constructor Details
-
NormalRoom
Constructs a NormalRoom with specified position, size, and player reference.- Parameters:
x- the x-coordinate of the top-left corner of the roomy- the y-coordinate of the top-left corner of the roomw- the width of the roomh- the height of the roomplayer- the player in this room
-