summaryrefslogtreecommitdiffstats
path: root/src/Entities/Floater.h
blob: 9bc5039f86954f0ccb1511ba8771481f06bd2631 (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 cFloater :
	public cEntity
{
	typedef cFloater super;
	
public:
	
	cFloater(double a_X, double a_Y, double a_Z, Vector3d a_Speed, int a_PlayerID);

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

	bool CanPickup(void) const { return m_CanPickupItem; }

protected:
	Vector3d m_Speed;
	int m_PickupCountDown;
	int m_PlayerID;
	bool m_CanPickupItem;
} ;