summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/EndPortalEntity.h
blob: 3480ad49cebba4be6e6c5c902a75ccfbd3020143 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

#pragma once

#include "BlockEntity.h"





class cEndPortalEntity :
	public cBlockEntity
{
	using Super = cBlockEntity;

public:

	cEndPortalEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World);

private:

	// cBlockEntity overrides:
	virtual void CopyFrom(const cBlockEntity & a_Src) override;
	virtual bool UsedBy(cPlayer * a_Player) override;
	virtual void SendTo(cClientHandle & a_Client) override;
};