diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index c2bbce4..6c980ee 100644 --- a/src/game.cpp +++ b/src/game.cpp | |||
@@ -24,6 +24,16 @@ Function *Game::getFunction( const Bu::String &sName ) | |||
24 | return hFunction.get( sName ); | 24 | return hFunction.get( sName ); |
25 | } | 25 | } |
26 | 26 | ||
27 | Variable Game::getParam( const Bu::String &sName ) const | ||
28 | { | ||
29 | return hGlobalParam.get( sName ); | ||
30 | } | ||
31 | |||
32 | Situation *Game::getSituation( const Bu::String &sName ) | ||
33 | { | ||
34 | return hSituation.get( sName ); | ||
35 | } | ||
36 | |||
27 | void Game::addFunction( Function *pFunc ) | 37 | void Game::addFunction( Function *pFunc ) |
28 | { | 38 | { |
29 | hFunction.insert( pFunc->getName(), pFunc ); | 39 | hFunction.insert( pFunc->getName(), pFunc ); |