diff options
Diffstat (limited to 'src/functiondisplay.cpp')
-rw-r--r-- | src/functiondisplay.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/functiondisplay.cpp b/src/functiondisplay.cpp index 920eefd..16b1175 100644 --- a/src/functiondisplay.cpp +++ b/src/functiondisplay.cpp | |||
@@ -1,5 +1,10 @@ | |||
1 | #include "functiondisplay.h" | 1 | #include "functiondisplay.h" |
2 | 2 | ||
3 | #include <bu/sio.h> | ||
4 | #include "gamestate.h" | ||
5 | |||
6 | using namespace Bu; | ||
7 | |||
3 | FunctionDisplay::FunctionDisplay() | 8 | FunctionDisplay::FunctionDisplay() |
4 | { | 9 | { |
5 | } | 10 | } |
@@ -8,7 +13,9 @@ FunctionDisplay::~FunctionDisplay() | |||
8 | { | 13 | { |
9 | } | 14 | } |
10 | 15 | ||
11 | Variable FunctionDisplay::call( const VariableList &lParams ) | 16 | Variable FunctionDisplay::call( class GameState &gState ) |
12 | { | 17 | { |
18 | Variable v = gState.pop(); | ||
19 | sio << "Display: " << v << sio.nl; | ||
13 | } | 20 | } |
14 | 21 | ||