22 #ifndef ILLUSIONS_BBDOU_BBDOU_FOODCTL_H 23 #define ILLUSIONS_BBDOU_BBDOU_FOODCTL_H 25 #include "illusions/specialcode.h" 26 #include "illusions/thread.h" 30 class IllusionsEngine_BBDOU;
32 const uint kFoodMaxPropertyIdsCount = 15;
33 const uint kFoodCount = 16;
44 void placeFood(uint totalRoundsCount, uint maxRequestedFoodCount);
45 void addFood(uint32 propertyId);
46 void requestFirstFood();
47 void requestNextFood();
49 bool hasReachedRequestedFoodCount();
50 bool hasRoundFinished();
55 uint _totalRoundsCount, _maxRequestedFoodCount;
56 uint32 _foodPropertyIds[kFoodMaxPropertyIdsCount];
57 uint _requestedFoodCount;
58 uint _requestedFoodIndex;
60 uint _servedFoodCount;
62 void resetFoodControls();
63 uint32 getFoodSequenceId();
64 uint32 getCurrentStudentObjectId();
69 #endif // ILLUSIONS_BBDOU_BBDOU_FOODCTL_H Definition: bbdou_foodctl.h:35
Definition: bbdou_foodctl.h:40
Definition: illusions_bbdou.h:60