Files
GabsPuNs-Project_Zenith_Main/Minecraft.World/TakeFlowerGoal.h
2026-05-14 19:16:33 -04:00

21 lines
301 B
C++

#pragma once
#include "Goal.h"
class TakeFlowerGoal : public Goal
{
private:
Villager *villager;
weak_ptr<VillagerGolem> golem;
int pickupTick;
bool takeFlower;
public:
TakeFlowerGoal(Villager *villager);
bool canUse();
bool canContinueToUse();
void start();
void stop();
void tick();
};