mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-08 22:57:25 +00:00
20 lines
447 B
C++
20 lines
447 B
C++
#pragma once
|
|
#include "EntityRenderer.h"
|
|
|
|
class Model;
|
|
class ResourceLocation;
|
|
|
|
class BoatRenderer : public EntityRenderer {
|
|
private:
|
|
static ResourceLocation BOAT_LOCATION;
|
|
|
|
protected:
|
|
Model* model;
|
|
|
|
public:
|
|
BoatRenderer();
|
|
|
|
virtual void render(std::shared_ptr<Entity> boat, double x, double y,
|
|
double z, float rot, float a);
|
|
virtual ResourceLocation* getTextureLocation(std::shared_ptr<Entity> mob);
|
|
}; |