31#ifndef CRAB_SPRITEAI_H
32#define CRAB_SPRITEAI_H
34#include "crab/ai/movement.h"
35#include "crab/PathfindingAgent.h"
45 FIGHTSTATE_GETNEXTMOVE,
46 FIGHTSTATE_GETINRANGE,
47 FIGHTSTATE_EXECUTEMOVE,
53 FLEESTATE_GETNEARESTEXIT,
73 _state = FIGHTSTATE_GETNEXTMOVE;
85 _state = FLEESTATE_GETNEARESTEXIT;
103 void dest(
const int &x,
const int &y,
const bool &active =
true) {
106 _dest._active = active;
109 void dest(
const Vector2i &v,
const bool &active =
true) {
110 dest(v.x, v.y, active);
Definition: movement.h:42
Definition: spriteai.h:92
Definition: spriteai.h:61
Definition: spriteai.h:81
Definition: spriteai.h:59