Skip to content
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

Added testcase framework and exported some classes and methods to js #3

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dumganhar
Copy link

  1. Added framework of test case. Implement two ActionTestDemo.
    Since we cannot inherit the class exported from cpp, we use 'Composite Pattern' to implement two simple ActionTestDemo.
  2. Exported some classes and methods to js:
    CCSize, CCDirector.end, CCDirector.getWinSize, CCMenuItemImage;
  3. Reverted to 'new CCSprite("")' method to create objects rather than CCSprite.spriteWithFile. Make it more friendly for javascript developers.

James Chen added 4 commits March 7, 2012 15:20
1.export some classes and methods to js:
CCSize, CCDirector.end, CCDirector.getWinSize, CCMenuItemImage;
2.add framework of test case.
…CSprite.spriteWithFile. Make it more friendly for javascript developers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant