4jcraft/Minecraft.World/AI/Goals/SwellGoal.h
2026-03-06 20:39:58 -06:00

20 lines
238 B
C++

#pragma once
#include "Goal.h"
class Creeper;
class SwellGoal : public Goal
{
private:
Creeper *creeper;
std::weak_ptr<Mob> target;
public:
SwellGoal(Creeper *creeper);
bool canUse();
void start();
void stop();
void tick();
};