Initial commit
This commit is contained in:
19
Minecraft.World/ThrownEnderpearl.h
Normal file
19
Minecraft.World/ThrownEnderpearl.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#include "Throwable.h"
|
||||
|
||||
class HitResult;
|
||||
|
||||
class ThrownEnderpearl : public Throwable
|
||||
{
|
||||
public:
|
||||
eINSTANCEOF GetType() { return eTYPE_THROWNENDERPEARL; }
|
||||
static Entity *create(Level *level) { return new ThrownEnderpearl(level); }
|
||||
|
||||
ThrownEnderpearl(Level *level);
|
||||
ThrownEnderpearl(Level *level, shared_ptr<Mob> mob);
|
||||
ThrownEnderpearl(Level *level, double x, double y, double z);
|
||||
|
||||
protected:
|
||||
virtual void onHit(HitResult *res);
|
||||
};
|
||||
Reference in New Issue
Block a user