-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
help me this code error #1
Comments
This is my error.You can find there are BulletSprite.cpp and 2014-12-12 9:22 GMT+08:00 kangminswo [email protected]:
|
i want to fix it because i am learning cocos2d-x and your project sorce code. |
i saw this tutorial. but i had got problem.
https://github.com/superman-t/PlaneGame1
BulletSprite.cpp.
bool BulletSprite::init() {
if (!Sprite::init()) {
return false;
}
this->schedule(schedule_selector(BulletSprite::ShootBullet));
return true;
}
classes/BulletSprite.cpp:8:15: Call to non-static member function without an object argument
classes/BulletSprite.cpp:8:15: 'init' is a protected member of 'cocos2d::Sprite’
two of bugs.
i have no idea
i can not do how to fix it.
Please help me
i can not sleep for 3 days.
Please help me
The text was updated successfully, but these errors were encountered: