Class IceBabyTask
java.lang.Object
com.csse3200.game.ai.tasks.DefaultTask
com.csse3200.game.components.tasks.bosstask.IceBabyTask
- All Implemented Interfaces:
PriorityTask,Task
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.csse3200.game.ai.tasks.Task
Task.Status -
Field Summary
Fields inherited from class com.csse3200.game.ai.tasks.DefaultTask
owner, status -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.csse3200.game.ai.tasks.DefaultTask
create, getStatus, stop
-
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:
startin interfaceTask- Overrides:
startin classDefaultTask
-
update
public void update()Updates the boss to start attacking and spawning new mobs- Specified by:
updatein interfaceTask- Overrides:
updatein classDefaultTask
-
getPriority
public int getPriority()Returns the priority of this task.- Specified by:
getPriorityin interfacePriorityTask- Returns:
- priority of task
-