#ifndef SITUATION_H #define SITUATION_H #include class Situation { public: Situation( const Bu::String &sName ); virtual ~Situation(); Bu::String getName() const { return sName; } enum Mode { modeSetup, modeEnter, }; void setAst( class AstBranch *pAst, Mode m ); void exec( class GameState &gState, Mode m ); private: Bu::String sName; class AstBranch *pAstSetup; class AstBranch *pAstEnter; }; Bu::Formatter &operator<<( Bu::Formatter &f, Situation::Mode m ); #endif