summaryrefslogblamecommitdiffstats
path: root/src/Entities/EnderCrystal.h
blob: d8e295a3cdca91bc384ccb72decabcc4a0a5b27e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                      
                              

       
 
                                     
 
                                      




                                                                      
                                                                                     
                                                               





                   

#pragma once

#include "Entity.h"





// tolua_begin
class cEnderCrystal :
	public cEntity
{
	// tolua_end
	using super = cEntity;

public:

	CLASS_PROTODEF(cEnderCrystal)

	cEnderCrystal(Vector3d a_Pos);

private:

	// cEntity overrides:
	virtual void SpawnOn(cClientHandle & a_ClientHandle) override;
	virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
	virtual void KilledBy(TakeDamageInfo & a_TDI) override;

};  // tolua_export