first commit
This commit is contained in:
18
Minecraft.World/CaveSpider.h
Normal file
18
Minecraft.World/CaveSpider.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "Spider.h"
|
||||
|
||||
class CaveSpider : public Spider
|
||||
{
|
||||
public:
|
||||
eINSTANCEOF GetType() { return eTYPE_CAVESPIDER; }
|
||||
static Entity *create(Level *level) { return new CaveSpider(level); }
|
||||
|
||||
public:
|
||||
CaveSpider(Level *level);
|
||||
|
||||
virtual int getMaxHealth();
|
||||
virtual float getModelScale();
|
||||
virtual bool doHurtTarget(shared_ptr<Entity> target);
|
||||
void finalizeMobSpawn();
|
||||
};
|
||||
Reference in New Issue
Block a user