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.
19 lines
386 B
C++
19 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);
|
|
};
|