Created
August 2, 2009 23:02
-
-
Save akisute/160244 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
#import "cocos2d.h" | |
// this definition enables type "kCurrentTurn" or "enum _kCurrentTurn" | |
typedef enum _kCurrentTurn { | |
kCurrentTurnNone = 0, | |
kCurrentTurnMaru = 1, | |
kCurrentTurnBatu = 2, | |
} kCurrentTurn; | |
enum { | |
kPieceMoving = 0xffffffff-1, | |
kPieceSettled = 0xffffffff-2, | |
}; | |
@interface TicTacToeScene : Scene { | |
} | |
@end | |
@interface TicTacToeLayer : Layer { | |
kCurrentTurn currentTurn; | |
CGPoint lastAccerelometerVector; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment