first commit
This commit is contained in:
18
Minecraft.World/WaterAnimal.h
Normal file
18
Minecraft.World/WaterAnimal.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#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);
|
||||
};
|
||||
Reference in New Issue
Block a user