mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-07 19:27:15 +00:00
21 lines
447 B
C++
21 lines
447 B
C++
#pragma once
|
|
#include "PathfinderMob.h"
|
|
#include "Mobs/Creature.h"
|
|
|
|
class Player;
|
|
|
|
class WaterAnimal : public PathfinderMob, public Creature {
|
|
public:
|
|
WaterAnimal(Level* level);
|
|
virtual bool isWaterMob();
|
|
virtual bool canSpawn();
|
|
virtual int getAmbientSoundInterval();
|
|
|
|
protected:
|
|
virtual bool removeWhenFarAway();
|
|
virtual int getExperienceReward(std::shared_ptr<Player> killedBy);
|
|
|
|
public:
|
|
virtual void baseTick();
|
|
};
|