public class AnglerFish extends MazeEntity
AnglerFish represents a non-playable character (NPC) in the maze mini-game. It is a hostile entity that chases the player and attacks it.
  • Constructor Details

    • AnglerFish

      public AnglerFish(Entity target, MazeEntityConfig config)
      Constructs an AnglerFish entity with the given target and configuration.
      Parameters:
      target - The entity that this AnglerFish will chase (e.g., the player).
      config - The configuration stats for this NPC, such as health and attack power.