Class ObstacleAttackTask

java.lang.Object
com.deco2800.game.ai.tasks.DefaultTask
com.deco2800.game.components.tasks.ObstacleAttackTask
All Implemented Interfaces:
PriorityTask, Task

public class ObstacleAttackTask
extends DefaultTask
implements PriorityTask
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.deco2800.game.ai.tasks.Task

    Task.Status
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.Boolean lock_use  

    Fields inherited from class com.deco2800.game.ai.tasks.DefaultTask

    owner, status
  • Constructor Summary

    Constructors 
    Constructor Description
    ObstacleAttackTask​(Entity npc, Entity target, int priority, float viewDistance)  
  • Method Summary

    Modifier and Type Method Description
    Vector2 enemyCreatePosition()  
    int getPriority()  
    void start()
    Start running this task.

    Methods inherited from class com.deco2800.game.ai.tasks.DefaultTask

    create, getStatus, stop, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.deco2800.game.ai.tasks.Task

    create, getStatus, stop, update