00001 #ifndef WORLD_H 00002 #define WORLD_H 1 00003 00004 #include "portion.h" 00005 00007 struct portionList { 00008 portionList *next; 00009 portion *ptr; 00010 }; 00011 00013 class world { 00014 portionList *firstPortion; 00015 void freePortionList(portionList *freePortion); 00016 00017 public: 00021 world(char *worldFile); 00022 ~world(); 00024 portionList *getFirstPortion(); 00032 void update(long int updateStamp); 00033 }; 00034 #endif
1.2.15