00001 #ifndef ANT_H 00002 #define ANT_H 1 00003 00004 class portion; 00005 00007 class ant { 00008 long int updated; 00009 double load; 00010 double capacity; 00011 char hemisphere; 00012 double phMult; 00014 public: 00015 portion *currentPortion; 00016 portion *previousPortion; 00017 char *antName; 00019 bool isLoaded(); 00020 char getHemisphere(); 00022 void update(long int updateStamp); 00028 ant(portion *birthPortion, int antIndex, char myHemisphere); 00029 double getPhMult(); 00030 ~ant(); 00031 }; 00032 #endif
1.2.15