first commit
This commit is contained in:
20
Minecraft.World/SwellGoal.h
Normal file
20
Minecraft.World/SwellGoal.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include "Goal.h"
|
||||
|
||||
class Creeper;
|
||||
|
||||
class SwellGoal : public Goal
|
||||
{
|
||||
private:
|
||||
Creeper *creeper;
|
||||
weak_ptr<Mob> target;
|
||||
|
||||
public:
|
||||
SwellGoal(Creeper *creeper);
|
||||
|
||||
bool canUse();
|
||||
void start();
|
||||
void stop();
|
||||
void tick();
|
||||
};
|
||||
Reference in New Issue
Block a user