mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-11 19:53:52 +00:00
This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
18 lines
386 B
C++
18 lines
386 B
C++
#pragma once
|
|
#include "PathfinderMob.h"
|
|
#include "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);
|
|
};
|