Package com.csse3200.game.components.boss


package com.csse3200.game.components.boss
  • Classes
    Class
    Description
     
    BossLaserAttackComponent handles the boss's laser pulse attack: - Finds player position - Triggers bossShootLaser animation - Creates and shoots laser pulse projectile with shootEffect animation - Handles hit detection and damage through the projectile entity - Uses touchKillEffect as hit effect when player is damaged
    Boss three-stage drone spawning component: * - Phase transitions based on the player's position as a trigger point; * - Each phase is configurable: drone variant, spawn interval, concurrency limit, total spawns, and pre-swing duration; * - Phase completion condition: Full spawns AND active count on the field is 0 -> switch back to pursuit animation/behavior.
    phase config
    When this entity touches a valid enemy's hitbox, deal damage to them and apply a knockback.