25 #ifndef PEGASUS_NEIGHBORHOOD_MARS_REACTOR_H 26 #define PEGASUS_NEIGHBORHOOD_MARS_REACTOR_H 28 #include "pegasus/elements.h" 29 #include "pegasus/surface.h" 30 #include "pegasus/util.h" 39 void initReactorGuess();
40 void disposeReactorGuess();
42 void setGuess(int32, int32, int32);
47 int32 _currentGuess[3];
57 void initReactorChoiceHighlight();
58 void disposeReactorChoiceHighlight();
60 void resetHighlight() {
61 _choices.clearAllFlags();
65 bool choiceHighlighted(uint32 whichChoice) {
return _choices.getFlag(whichChoice); }
69 void highlightChoice(uint32 whichChoice) {
70 _choices.setFlag(whichChoice);
84 void initReactorHistory();
85 void disposeReactorHistory();
89 void addGuess(int32, int32, int32);
90 int32 getNumGuesses() {
return _numGuesses; }
92 void setAnswer(int32, int32, int32);
95 int32 getCurrentNumCorrect();
98 Surface _colors, _digits, _answerColors;
100 int32 _history[5][3];
Definition: elements.h:43
Definition: ai_action.h:33