Files
funnygame/game/client/milmoba/player.h

36 lines
641 B
C++

#ifndef MILMOBA_PLAYER_H
#define MILMOBA_PLAYER_H
#include "basemodelentity.h"
class C_MOBAPlayer: public C_BaseModelEntity
{
public:
DECLARE_CLASS(C_MOBAPlayer, C_BaseModelEntity);
DECLARE_DATADESC();
DECLARE_CLIENTCLASS()
virtual void Precache ( void ) override;
virtual void Spawn( void ) override;
void Think( float fDelta );
bool m_bIsForward = 0;
bool m_bIsBack = 0;
bool m_bIsLeft = 0;
bool m_bIsRight = 0;
int m_bIsShooting;
float m_fFBWalkingDirection;
float m_fLRWalkingDirection;
float m_fPitch= 0;
float m_fYaw = 0;
Vector m_vMovementVector;
Vector m_vLocalMovementVector;
Vector vCameraPos;
};
#endif