mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-30 17:12:59 +00:00
17 lines
408 B
C++
17 lines
408 B
C++
#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(std::shared_ptr<Entity> target);
|
|
void finalizeMobSpawn();
|
|
}; |