et1337

TextureCutoutShape.h

Jul 5th, 2011
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //
  2. //  TextureCutoutShape.h
  3. //
  4. //  Created by et1337 on 6/29/11.
  5. //
  6.  
  7. #import <Foundation/Foundation.h>
  8. #import "cocos2d.h"
  9.  
  10. @interface TextureCutoutShape : CCNode
  11. {
  12.     CGPoint* points;
  13.     CGPoint* coords;
  14.     ccColor4B* colors;
  15.     CCTexture2D* texture;
  16.     float textureScale;
  17.     int vertexCount;
  18. }
  19. -(id) initWithFile:(NSString*)file andVertexCount:(int)vertices;
  20. -(id) initWithTexture:(CCTexture2D*)tex andVertexCount:(int)vertices;
  21. @property (readonly) int vertexCount;
  22. @property (retain) CCTexture2D* texture;
  23. @property float textureScale;
  24. @property ccColor3B color;
  25. @property GLubyte opacity;
  26. @end
Advertisement
Add Comment
Please, Sign In to add comment