//--------------------------------------------------------------------------- #ifndef auditoryH #define auditoryH //--------------------------------------------------------------------------- class TAuditory; typedef TAuditory * pAuditory; #include "cell.h" class TAuditory { public: TAuditory(); ~TAuditory(); void Add(pCell pCellA ); void destroyCellList(); float getGlobalGood(); float setGlobalGood(float g); void* forEach(cellMem1par f, void* p ); virtual void round(); /*virtual*/ void show(); float doSumApplaus(); int nOfStanding(); int getStandTime(); // Sum (for i=1..now) {standing in step i} int getRoundCount() { return RoundCount; }; float getApplausMean(); void countApplausMean(); int nOfCells; protected: float GlobalGood,ApplausMean; pCellList cellList; int StandTime; // Sum (for i=1..now) {standing in step i} int RoundCount; }; #endif