mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-23 16:23:05 +00:00
19 lines
268 B
C++
19 lines
268 B
C++
#pragma once
|
|
|
|
#include "Goal.h"
|
|
|
|
class Creeper;
|
|
|
|
class SwellGoal : public Goal {
|
|
private:
|
|
Creeper* creeper;
|
|
std::weak_ptr<LivingEntity> target;
|
|
|
|
public:
|
|
SwellGoal(Creeper* creeper);
|
|
|
|
bool canUse();
|
|
void start();
|
|
void stop();
|
|
void tick();
|
|
}; |