error LNK2019, 寻求帮助!!!
#ifndef BUGMANAGER_H
#define BUGMANAGER_H
#include "Bug.h"
#include "Hunter.h"
#include "hge.h"
#include "hgesprite.h"
struct BugAttribute
{
BugAttribute();
BugAttribute( float _x, float _y, float _dx, float _dy, bool _alive )
{
x = _x;
y = _y;
dx = _dx;
dy = _dy;
alive = _alive;
}
float x,y;
float dx,dy;
bool alive;
};
class CBugManager
{
public:
CBugManager(HGE* hge);
~CBugManager();
bool Catch();
void Render();
void Update();
private:
HGE* m_pHge;
CHunter* m_pHunter;
BugAttribute* m_pAttribute;
CSlowBug* m_pSlowBug;
CFastBug* m_pFastBug;
CCleverBug* m_pCleverBug;
CBoss* m_pBoss;
int m_iControlNumber;
int m_iRandomNumber;
};
#endif //BUGMANAGER_H
1>BugManager.obj : error LNK2019: unresolved external symbol "public: __thiscall BugAttribute::BugAttribute(void)" (??0BugAttribute@@QAE@XZ) referenced in function "public: __thiscall CBugManager::CBugManager(class HGE *)" (??0CBugManager@@QAE@PAVHGE@@@Z)
寻求高手帮忙,谢谢了!