first commit
This commit is contained in:
21
Minecraft.World/TakeFlowerGoal.h
Normal file
21
Minecraft.World/TakeFlowerGoal.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#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();
|
||||
};
|
||||
Reference in New Issue
Block a user