- Notifications
You must be signed in to change notification settings - Fork 134
TicTacToe demo cocos2dx functionality #46
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
Changes from 1 commit
a1d7ea7 fe6b14f a6e9567 441998b 1826d7d 9d0c311 eedf812 1777aff 12d03ce 11aed62 7322220 5caac8a 2b8b2b9 c6be411 3ce4079 78775cf File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,14 @@ | ||
| #pragma once | ||
| ||
| | ||
| #include "cocos2d.h" | ||
| #include <array> | ||
| ||
| #include <iostream> | ||
| #include <cstdlib> | ||
| #include <iostream> | ||
| | ||
| #include "cocos2d.h" | ||
| | ||
| | ||
| class TicTacToe : public cocos2d::Layer | ||
| { | ||
| public: | ||
| static cocos2d::Scene* createScene(); | ||
| virtual bool init(); | ||
| CREATE_FUNC(TicTacToe); | ||
| | ||
| | ||
| class TicTacToe : public cocos2d::Layer { | ||
| public: | ||
| static cocos2d::Scene* createScene(); | ||
DellaBitta marked this conversation as resolved. Show resolved Hide resolved | ||
| virtual bool init(); | ||
| ||
| CREATE_FUNC(TicTacToe); | ||
| }; | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of virtual, use override.
https://en.cppreference.com/w/cpp/language/override