33 lines
601 B
C++
33 lines
601 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;
|
|
|
|
Vector m_vMovementVector;
|
|
Vector m_vLocalMovementVector;
|
|
Vector vCameraPos;
|
|
};
|
|
|
|
#endif
|