summaryrefslogblamecommitdiffstats
path: root/src/Mobs/Squid.h
blob: 7e944a17e49e4afb4a87c6cce2285025e6e44eea (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
 

            
                           
 





                              
 

                                      

                 
 
                                                                                     
 
                              
        
                                                                                       
 


                                                               



   
 

#pragma once

#include "PassiveMonster.h"





class cSquid :
	public cPassiveMonster
{
	typedef cPassiveMonster super;
	
public:
	cSquid();

	virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;

	CLASS_PROTODEF(cSquid)
	
	virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;

	// Squids do not drown (or float)
	virtual void HandleAir(void) override {}
	virtual void SetSwimState(cChunk & a_Chunk) override {}
} ;