Initial commit

This commit is contained in:
Stillkill committed 2026-03-08 15:26:08 -05:00
commit b0e73a61aa
16345 files changed
+3104967

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
#pragma once
using namespace std;
#include "Throwable.h"
class HitResult;
class Snowball : public Throwable
{
public:
eINSTANCEOF GetType() { return eTYPE_SNOWBALL; }
static Entity *create(Level *level) { return new Snowball(level); }
private:
void _init();
public:
Snowball(Level *level);
Snowball(Level *level, shared_ptr<Mob> mob);
Snowball(Level *level, double x, double y, double z);
protected:
virtual void onHit(HitResult *res);
};