This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
24 lines
431 B
C++
24 lines
431 B
C++
#pragma once
|
|
|
|
#include "MobRenderer.h"
|
|
|
|
class Silverfish;
|
|
|
|
class SilverfishRenderer : public MobRenderer
|
|
{
|
|
private:
|
|
//int modelVersion;
|
|
|
|
public:
|
|
SilverfishRenderer();
|
|
|
|
protected:
|
|
float getFlipDegrees(std::shared_ptr<Silverfish> spider);
|
|
|
|
public:
|
|
void render(std::shared_ptr<Entity> _mob, double x, double y, double z, float rot, float a);
|
|
|
|
protected:
|
|
int prepareArmor(std::shared_ptr<Mob> _silverfish, int layer, float a);
|
|
};
|