December 2014 files

This commit is contained in:
Loki Rautio
2026-03-01 11:00:23 -06:00
parent b691c43c44
commit 8fd3ac6e37
2049 changed files with 260190 additions and 134787 deletions

View File

@@ -10,8 +10,8 @@ private:
Mob *mob;
Level *level;
Path *path;
float speed;
float maxDist;
double speedModifier;
AttributeInstance *dist;
bool avoidSun;
int _tick;
int lastStuckCheck;
@@ -23,7 +23,7 @@ private:
bool canFloat;
public:
PathNavigation(Mob *mob, Level *level, float maxDist);
PathNavigation(Mob *mob, Level *level);
~PathNavigation();
void setAvoidWater(bool avoidWater);
@@ -33,13 +33,14 @@ public:
void setCanPassDoors(bool canPass);
bool canOpenDoors();
void setAvoidSun(bool avoidSun);
void setSpeed(float speed);
void setSpeedModifier(double speedModifier);
void setCanFloat(bool canFloat);
float getMaxDist();
Path *createPath(double x, double y, double z);
bool moveTo(double x, double y, double z, float speed);
Path *createPath(shared_ptr<Mob> target);
bool moveTo(shared_ptr<Mob> target, float speed);
bool moveTo(Path *newPath, float speed);
bool moveTo(double x, double y, double z, double speedModifier);
Path *createPath(shared_ptr<Entity> target);
bool moveTo(shared_ptr<Entity> target, double speedModifier);
bool moveTo(Path *newPath, double speedModifier);
Path *getPath();
void tick();