1 /* object.h */ 2 #ifndef _OBJECT_H_ 3 #define _OBJECT_H_ 4 5 #include<vector2.h> 6 7 typedef struct object{ 8 vector2 size; 9 char* shape; 10 } object; 11 12 object* newobject(int w, int h, char* shape); 13 void deleteobject(object* obj); 14 void putobject(object* obj, int id, int x, int y); 15 #endif