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
-
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:
start
in interfaceTask
- Overrides:
start
in classDefaultTask
-
update
public void update()Updates the boss to start attacking and spawning new mobs- Specified by:
update
in interfaceTask
- Overrides:
update
in classDefaultTask
-
getPriority
public int getPriority()Returns the priority of this task.- Specified by:
getPriority
in interfacePriorityTask
- Returns:
- priority of task
-