mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-26 16:03:09 +00:00
21 lines
342 B
C++
21 lines
342 B
C++
#pragma once
|
|
|
|
#include "Goal.h"
|
|
|
|
class PathfinderMob;
|
|
class DoorInfo;
|
|
|
|
class MoveIndoorsGoal : public Goal {
|
|
private:
|
|
PathfinderMob* mob;
|
|
std::weak_ptr<DoorInfo> doorInfo;
|
|
int insideX, insideZ;
|
|
|
|
public:
|
|
MoveIndoorsGoal(PathfinderMob* mob);
|
|
|
|
bool canUse();
|
|
bool canContinueToUse();
|
|
void start();
|
|
void stop();
|
|
}; |