You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
678 B
38 lines
678 B
// CPerson.h: interface for the CPerson class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef __CPERSON_H
|
|
#define __CPERSON_H
|
|
|
|
#include "CObject.h"
|
|
|
|
enum ENUM_PERSONSTEP {
|
|
eStepLeft=0,
|
|
eStepRight
|
|
};
|
|
|
|
class CPerson : public CObject
|
|
{
|
|
public:
|
|
CPerson();
|
|
virtual ~CPerson();
|
|
|
|
void Destroy();
|
|
BOOL Init(HWND hWnd);
|
|
BOOL Move(Graphics *g);
|
|
void DrawStep(Graphics *g);
|
|
|
|
Bitmap *m_paFoot;
|
|
Bitmap *m_paBlended;
|
|
Bitmap *m_paIndented;
|
|
int m_nSnapshotSize;
|
|
int m_nFootWidth;
|
|
int m_nFootHeight;
|
|
float m_flStepRadius;
|
|
float m_flStepWidth;
|
|
PointF m_vLastStep;
|
|
ENUM_PERSONSTEP m_eLastStep;
|
|
};
|
|
|
|
#endif
|