aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/ThrownEgg.h
blob: 324dc237c639b40c48766dd7ae4b537743021c65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once
using namespace std;

#include "Throwable.h"

class HitResult;

class ThrownEgg : public Throwable
{
public:
	eINSTANCEOF GetType() { return eTYPE_THROWNEGG; }

private:
	void _init();

public:
	ThrownEgg(Level *level);
	ThrownEgg(Level *level, shared_ptr<LivingEntity> mob);
	ThrownEgg(Level *level, double x, double y, double z);

protected:
	virtual void onHit(HitResult *res);
};