diff options
Diffstat (limited to 'src/Mobs/Old Mobs/Squid.h')
-rw-r--r-- | src/Mobs/Old Mobs/Squid.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/Mobs/Old Mobs/Squid.h b/src/Mobs/Old Mobs/Squid.h new file mode 100644 index 000000000..884a80de3 --- /dev/null +++ b/src/Mobs/Old Mobs/Squid.h @@ -0,0 +1,31 @@ + +#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*/ {} +} ; + + + + |