2026-03-01 12:16:08 +08:00
|
|
|
#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();
|
2026-03-02 17:37:16 +07:00
|
|
|
virtual int getExperienceReward(shared_ptr<Player> killedBy);
|
2026-03-01 12:16:08 +08:00
|
|
|
};
|