1
0
cuberite-2a/src/Mobs/Squid.h
Tiger Wang fd7fc7e59e All mobs now drown (fixes #54)
* Implemented mob drowning
* Iron Golems and squids are excluded
2014-01-24 23:58:51 +00:00

32 lines
451 B
C++

#pragma once
#include "PassiveMonster.h"
class cSquid :
public cPassiveMonster
{
typedef cPassiveMonster super;
public:
cSquid();
virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
CLASS_PROTODEF(cSquid);
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
// Squids do not drown (or float)
virtual void HandleAir(void) override {}
virtual void SetSwimState(cChunk & a_Chunk) override {}
} ;