Create Implementation fails for one method of this class. Really not sure what is going on here.
The class (in .h)
class spriteAnim
{
public:
spriteAnim(spriteBatch* pBatch, int batIdx);
void SetAnim(int idx);
void SetT(float t);
private:
spriteBatch* mpBatch;
int mBatchIdx;
int mIdx1, mIdx2;
int mAnimIdx;
public:
static void Associate(int idx, const char* sFileNameBase, spriteSheet* pSheet, bool bLoop)
};
The result of Create Implementation on Associate:
class spriteAnim
{
:
spriteAnim(spriteBatch* pBatch, int batIdx);
void SetAnim(int idx);
void SetT(float t);
:
spriteBatch* mpBatch;
int mBatchIdx;
int mIdx1, mIdx2;
int mAnimIdx;
:
void Associate(int idx, const char* sFileNameBase, spriteSheet* pSheet, bool bLoop) spriteAnim::Associate(spriteBatch* pBatch, int batIdx) void SetAnim(int idx)
{
}
VS2008, 10.9.2062.0