summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp10
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
27Variable Game::getParam( const Bu::String &sName ) const
28{
29 return hGlobalParam.get( sName );
30}
31
32Situation *Game::getSituation( const Bu::String &sName )
33{
34 return hSituation.get( sName );
35}
36
27void Game::addFunction( Function *pFunc ) 37void Game::addFunction( Function *pFunc )
28{ 38{
29 hFunction.insert( pFunc->getName(), pFunc ); 39 hFunction.insert( pFunc->getName(), pFunc );