Class IceBabyTask

java.lang.Object
com.csse3200.game.ai.tasks.DefaultTask
com.csse3200.game.components.tasks.bosstask.IceBabyTask
All Implemented Interfaces:
PriorityTask, Task

public class IceBabyTask extends DefaultTask implements PriorityTask
  • Constructor Details

    • IceBabyTask

      public IceBabyTask()
      Constructor for IceBabyTask
  • Method Details

    • start

      public void start()
      Starts the Task and triggers for Ice Baby to be spawned
      Specified by:
      start in interface Task
      Overrides:
      start in class DefaultTask
    • update

      public void update()
      Updates the boss to start attacking and spawning new mobs
      Specified by:
      update in interface Task
      Overrides:
      update in class DefaultTask
    • getPriority

      public int getPriority()
      Returns the priority of this task.
      Specified by:
      getPriority in interface PriorityTask
      Returns:
      priority of task