aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/PlayGoal.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/PlayGoal.h')
-rw-r--r--Minecraft.World/PlayGoal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Minecraft.World/PlayGoal.h b/Minecraft.World/PlayGoal.h
index a1b1a291..0c927d76 100644
--- a/Minecraft.World/PlayGoal.h
+++ b/Minecraft.World/PlayGoal.h
@@ -6,13 +6,13 @@ class PlayGoal : public Goal
{
private:
Villager *mob;
- weak_ptr<Mob> followFriend;
- float speed;
+ weak_ptr<LivingEntity> followFriend;
+ double speedModifier;
double wantedX, wantedY, wantedZ;
int playTime;
public:
- PlayGoal(Villager *mob, float speed);
+ PlayGoal(Villager *mob, double speedModifier);
virtual bool canUse();
virtual bool canContinueToUse();