mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 13:33:36 +00:00
19 lines
331 B
C++
19 lines
331 B
C++
#pragma once
|
|
|
|
#include "Control.h"
|
|
|
|
class BodyControl : public Control {
|
|
private:
|
|
LivingEntity* mob;
|
|
static const float maxClampAngle;
|
|
int timeStill;
|
|
float lastHeadY;
|
|
|
|
public:
|
|
BodyControl(LivingEntity* mob);
|
|
|
|
void clientTick();
|
|
|
|
private:
|
|
float clamp(float clampTo, float clampFrom, float clampAngle);
|
|
}; |