diff options
Diffstat (limited to 'Minecraft.Client/OcelotRenderer.h')
| -rw-r--r-- | Minecraft.Client/OcelotRenderer.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Minecraft.Client/OcelotRenderer.h b/Minecraft.Client/OcelotRenderer.h new file mode 100644 index 00000000..b059a799 --- /dev/null +++ b/Minecraft.Client/OcelotRenderer.h @@ -0,0 +1,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); +};
\ No newline at end of file |
