Guest User

Untitled

a guest
Jan 23rd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. MyScene.m:
  2. #import "globals.h"
  3.  
  4. -(id) init
  5. {
  6. if( (self=[super initWithColor:ccc4(255,255,255,255)] )) {
  7.  
  8. isInBook = TRUE;
  9.  
  10.  
  11. }
  12. return self;
  13. }
  14.  
  15.  
  16. globals.h:
  17. // flag to indicate if user currently has the book "open"
  18. extern BOOL isInBook;
Add Comment
Please, Sign In to add comment