Index
All Classes and Interfaces|All Packages|Constant Field Values
S
- setActive(boolean) - Method in class rooms.Room
- setAlive(boolean) - Method in class core.Character
-
Sets whether the character is alive.
- setCoin(int) - Method in class entities.player.Player
- setCollected(boolean) - Method in class entities.items.Item
-
Sets the collected state of the item.
- setDamageFlash(double) - Method in class entities.enemies.Enemy
-
Sets the damage flash value.
- setDamageFlash(double) - Method in class entities.player.Player
- setDiameter(double) - Method in class core.Character
-
Sets the diameter of the character's hitbox.
- setHeight(double) - Method in class entities.items.Item
-
Sets the height of the item.
- setHp(int) - Method in class core.Character
-
Sets the health points of the character.
- setLocked(boolean) - Method in class rooms.Door
-
Sets the locked state of the door.
- setMaxHp(int) - Method in class core.Character
-
Sets the maximum health points of the character.
- setName(String) - Method in class entities.player.Player
- setOwner(CharacterType) - Method in class entities.bullets.Bullet
-
Sets the owner of the bullet.
- setPlayer(Player) - Method in class entities.enemies.Chaser
-
Sets the player object that the Chaser targets.
- setPlayer(Player) - Method in class game.RoomManager
- setPower(int) - Method in class core.Character
-
Sets the attack power of the character.
- setPower(int) - Method in class entities.bullets.Bullet
-
Sets the damage power of the bullet.
- setRoom(Room) - Method in class entities.enemies.Enemy
-
Sets the room this enemy belongs to.
- setRoom(Room) - Method in class entities.items.Item
-
Sets the room the item belongs to.
- setVolume(double) - Static method in class util.SFXManager
-
Sets the global volume for all sound effects.
- setVx(double) - Method in class entities.bullets.Bullet
-
Sets the horizontal velocity of the bullet.
- setVy(double) - Method in class entities.bullets.Bullet
-
Sets the vertical velocity of the bullet.
- setWidth(double) - Method in class entities.items.Item
-
Sets the width of the item.
- setX(double) - Method in class core.GameObject
-
Sets the X-coordinate of the object.
- setX(double) - Method in class entities.items.Item
-
Sets the X coordinate of the item.
- setY(double) - Method in class core.GameObject
-
Sets the Y-coordinate of the object.
- setY(double) - Method in class entities.items.Item
-
Sets the Y coordinate of the item.
- SFXManager - Class in util
-
Manages sound effects (SFX) in the game.
- SFXManager() - Constructor for class util.SFXManager
- shoot() - Method in class entities.enemies.Boss
-
Boss ability: shoots bullets in a circular pattern.
- shoot4Directions() - Method in class entities.enemies.Jumper
-
Shoots bullets in four cardinal directions (up, down, left, right).
- shootCircle() - Method in class entities.enemies.Boss
-
Spawns bullets in a circle around the boss.
- shootCooldown - Static variable in class entities.player.Player
-
Shooting cooldown in milliseconds.
- SHOP_INTERVAL - Static variable in class game.RoomManager
-
Interval at which store rooms appear
- shotgunOnce() - Method in class entities.enemies.Boss
-
Shoots a single spread of bullets toward the player.
- shouldBulletStayAlive(Bullet, List<Character>) - Static method in class util.BulletUtil
-
Determines whether a bullet should continue existing or be removed based on collisions with characters.
- smoothMove(double) - Method in class entities.enemies.Jumper
-
Smoothly moves the Jumper toward the target position over a specified duration.
- smoothMoveSpeed(double, double) - Method in class entities.enemies.Boss
-
Smoothly moves the boss toward a target position at a given speed.
- sounds - Static variable in class util.SFXManager
-
Stores loaded sound effects by name.
- spawnBullet(Bullet) - Method in class rooms.Room
-
Spawns a bullet in the room.
- spawnEnemy(Enemy) - Method in class rooms.CombatRoom
-
Adds an enemy to the room.
- spawnItems(Item) - Method in class rooms.Room
-
Schedules an item to be added to the room.
- spawnLaser(Laser) - Method in class rooms.Room
-
Spawns a laser in the room.
- SpecialAbilityCapable - Interface in core
-
Interface for objects that can use a special ability.
- specialAbilityCooldown - Static variable in class entities.enemies.Boss
-
Cooldown for the special ability in milliseconds.
- SPEED - Static variable in class entities.player.Player
-
Movement speed in units per second.
- start(Stage) - Method in class game.GameApp
-
Initializes and starts the JavaFX application.
- stop() - Static method in class util.BGMManager
-
Stops the currently playing BGM, if any.
- stop(String) - Static method in class util.SFXManager
-
Stops a sound effect by name if it is playing.
- stopAll() - Static method in class util.SFXManager
-
Stops all currently playing sound effects.
- StoreRoom - Class in rooms
-
Represents a store room where the player can purchase items.
- StoreRoom(double, double, double, double, Player) - Constructor for class rooms.StoreRoom
-
Constructs a StoreRoom with specified position, size, and player reference.
- STRENGTH - Static variable in class entities.items.StrengthPot
-
Amount of power restored when collected.
- StrengthPot - Class in entities.items
-
A collectible strength potion item.
- StrengthPot(double, double) - Constructor for class entities.items.StrengthPot
-
Constructs a new StrengthPot at the specified position.
- sufficientAmount(int) - Method in class entities.player.Player
All Classes and Interfaces|All Packages|Constant Field Values