summaryrefslogtreecommitdiff
path: root/src/functiondebugstring.cpp
blob: 1c138d764e611c894aa87d7efb7a561979a0fcd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "functiondebugstring.h"

#include <bu/sio.h>
#include "gamestate.h"

using namespace Bu;

FunctionDebugString::FunctionDebugString()
{
}

FunctionDebugString::~FunctionDebugString()
{
}

void FunctionDebugString::call( class GameState &gState )
{
	Variable v = gState.popDeref();
	gState.push( Variable( Bu::String("%1").arg( v ) ) );
}