blob: b059a7997442bcd9a91789fd4b11dd970578f8db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include "MobRenderer.h"
class OcelotRenderer : public MobRenderer
{
private:
static ResourceLocation CAT_BLACK_LOCATION;
static ResourceLocation CAT_OCELOT_LOCATION;
static ResourceLocation CAT_RED_LOCATION;
static ResourceLocation CAT_SIAMESE_LOCATION;
public:
OcelotRenderer(Model *model, float shadow);
virtual void render(shared_ptr<Entity> _mob, double x, double y, double z, float rot, float a);
protected:
virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> entity);
virtual void scale(shared_ptr<LivingEntity> _mob, float a);
};
|