ExecuteAttack() public method

NPC tries to hit the player.
public ExecuteAttack ( ) : void
return void
Beispiel #1
0
    public override ActionResult Execute(RAIN.Core.AI ai)
    {
        NPC npc = ai.Body.GetComponent <NPC>();

        npc.ExecuteAttack();

        return(ActionResult.SUCCESS);
    }