mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-25 01:08:13 +05:00
18 lines
298 B
C++
18 lines
298 B
C++
#pragma once
|
|
|
|
#include "Goal.h"
|
|
|
|
class LeapAtTargetGoal : public Goal
|
|
{
|
|
private:
|
|
Mob *mob; // Owner of this goal
|
|
weak_ptr<Mob> target;
|
|
float yd;
|
|
|
|
public:
|
|
LeapAtTargetGoal(Mob *mob, float yd);
|
|
|
|
virtual bool canUse();
|
|
virtual bool canContinueToUse();
|
|
virtual void start();
|
|
}; |