summaryrefslogtreecommitdiff
path: root/src/functiondisplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/functiondisplay.cpp')
-rw-r--r--src/functiondisplay.cpp9
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
6using namespace Bu;
7
3FunctionDisplay::FunctionDisplay() 8FunctionDisplay::FunctionDisplay()
4{ 9{
5} 10}
@@ -8,7 +13,9 @@ FunctionDisplay::~FunctionDisplay()
8{ 13{
9} 14}
10 15
11Variable FunctionDisplay::call( const VariableList &lParams ) 16Variable FunctionDisplay::call( class GameState &gState )
12{ 17{
18 Variable v = gState.pop();
19 sio << "Display: " << v << sio.nl;
13} 20}
14 21