20 lines
233 B
C++
20 lines
233 B
C++
#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();
|
|
}; |