Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // TextureCutoutShape.h
- //
- // Created by et1337 on 6/29/11.
- //
- #import <Foundation/Foundation.h>
- #import "cocos2d.h"
- @interface TextureCutoutShape : CCNode
- {
- CGPoint* points;
- CGPoint* coords;
- ccColor4B* colors;
- CCTexture2D* texture;
- float textureScale;
- int vertexCount;
- }
- -(id) initWithFile:(NSString*)file andVertexCount:(int)vertices;
- -(id) initWithTexture:(CCTexture2D*)tex andVertexCount:(int)vertices;
- @property (readonly) int vertexCount;
- @property (retain) CCTexture2D* texture;
- @property float textureScale;
- @property ccColor3B color;
- @property GLubyte opacity;
- @end
Advertisement
Add Comment
Please, Sign In to add comment