diff options
Diffstat (limited to 'src/situation.cpp')
| -rw-r--r-- | src/situation.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/situation.cpp b/src/situation.cpp index 86dd5c5..54096cc 100644 --- a/src/situation.cpp +++ b/src/situation.cpp | |||
| @@ -5,8 +5,9 @@ | |||
| 5 | 5 | ||
| 6 | #include <bu/formatter.h> | 6 | #include <bu/formatter.h> |
| 7 | 7 | ||
| 8 | Situation::Situation( const Bu::String &sName ) : | 8 | Situation::Situation( const Bu::String &sName, InputType tInput ) : |
| 9 | sName( sName ), | 9 | sName( sName ), |
| 10 | tInput( tInput ), | ||
| 10 | pAstSetup( NULL ), | 11 | pAstSetup( NULL ), |
| 11 | pAstEnter( NULL ) | 12 | pAstEnter( NULL ) |
| 12 | { | 13 | { |
| @@ -59,6 +60,10 @@ bool Situation::execCommand( class GameState &gState, | |||
| 59 | return csLocal.dispatch( gState, lCmd ); | 60 | return csLocal.dispatch( gState, lCmd ); |
| 60 | } | 61 | } |
| 61 | 62 | ||
| 63 | void Situation::execOption( class GameState &gState, int idx ) | ||
| 64 | { | ||
| 65 | } | ||
| 66 | |||
| 62 | Bu::Formatter &operator<<( Bu::Formatter &f, Situation::Mode m ) | 67 | Bu::Formatter &operator<<( Bu::Formatter &f, Situation::Mode m ) |
| 63 | { | 68 | { |
| 64 | switch( m ) | 69 | switch( m ) |
