Class PatrickDeathTask

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

public class PatrickDeathTask extends DefaultTask implements PriorityTask
  • Constructor Details

    • PatrickDeathTask

      public PatrickDeathTask()
  • Method Details

    • start

      public void start()
      What is run when patrick's death task is assigned
      Specified by:
      start in interface Task
      Overrides:
      start in class DefaultTask
    • update

      public void update()
      What is run every frame
      Specified by:
      update in interface Task
      Overrides:
      update in class DefaultTask
    • getPriority

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