Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef MAPMODULE_STRUCTS_H
- #define MAPMODULE_STRUCTS_H
- USING_NS_CC;
- struct PlanObject {
- int id;
- Rect touchRegion;
- bool isTouched;
- };
- struct Color {
- int red;
- int green;
- int blue;
- };
- struct Shape {
- int coordinates[1000][2];
- int pointsCount;
- Color color;
- int type;
- };
- struct TriangulatedShape {
- Vec2 triangles[1000][3];
- int trianglesCount;
- Color color;
- int type;
- };
- #endif //MAPMODULE_STRUCTS_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement