summaryrefslogtreecommitdiffstats
path: root/src/Entities/ExpOrb.h
blob: a062eedd39aaf1f16c5ae20bf748a67005d2054f (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
26
27
28
29

#pragma once

#include "Entity.h"





class cExpOrb :
	public cEntity
{
	typedef cExpOrb super;
	
public:
	
	cExpOrb(double a_X, double a_Y, double a_Z, int a_Reward);
	cExpOrb(const Vector3d & a_Pos, int a_Reward);

	// Override functions
	virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
	virtual void SpawnOn(cClientHandle & a_Client) override;

	// cExpOrb functions
	int GetReward(void) const { return m_Reward; }

protected:
	int m_Reward;
} ;