mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 15:13:37 +00:00
28 lines
928 B
C++
28 lines
928 B
C++
#pragma once
|
|
#include "Model.h"
|
|
#include "../../../Minecraft.World/Entities/Mob.h"
|
|
|
|
class WolfModel : public Model {
|
|
public:
|
|
ModelPart *head, *body, *leg0, *leg1, *leg2, *leg3;
|
|
// Cube *ear1;
|
|
// Cube *ear2;
|
|
// Cube *mouth;
|
|
ModelPart* tail;
|
|
ModelPart* upperBody;
|
|
|
|
private:
|
|
static const int legSize = 8;
|
|
|
|
public:
|
|
WolfModel();
|
|
virtual void render(std::shared_ptr<Entity> entity, float time, float r,
|
|
float bob, float yRot, float xRot, float scale,
|
|
bool usecompiled);
|
|
void prepareMobModel(std::shared_ptr<LivingEntity> mob, float time, float r,
|
|
float a);
|
|
virtual void setupAnim(float time, float r, float bob, float yRot,
|
|
float xRot, float scale,
|
|
std::shared_ptr<Entity> entity,
|
|
unsigned int uiBitmaskOverrideAnim = 0);
|
|
}; |