aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/WaterAnimal.h
blob: 1da551c5f6c6e3e8f83eccd4e4e3f36148a8b784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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(shared_ptr<Player> killedBy);

public:
	virtual void baseTick();
};