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
















                              
                                     






                                                                      
                                                                                     
                                                               





                   

#pragma once

#include "Entity.h"





// tolua_begin
class cEnderCrystal :
	public cEntity
{
	// tolua_end
	typedef cEntity super;

public:
	CLASS_PROTODEF(cEnderCrystal)

	cEnderCrystal(double a_X, double a_Y, double a_Z);

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