Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.47 KB | None | 0 0
  1. #ifndef MAPMODULE_STRUCTS_H
  2. #define MAPMODULE_STRUCTS_H
  3.  
  4. USING_NS_CC;
  5.  
  6. struct PlanObject {
  7.     int id;
  8.     Rect touchRegion;
  9.     bool isTouched;
  10. };
  11.  
  12. struct Color {
  13.     int red;
  14.     int green;
  15.     int blue;
  16. };
  17.  
  18. struct Shape {
  19.     int coordinates[1000][2];
  20.     int pointsCount;
  21.     Color color;
  22.     int type;
  23. };
  24.  
  25. struct TriangulatedShape {
  26.     Vec2 triangles[1000][3];
  27.     int trianglesCount;
  28.     Color color;
  29.     int type;
  30. };
  31.  
  32. #endif //MAPMODULE_STRUCTS_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement