1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#include "functiondisplay.h" #include <bu/sio.h> #include "gamestate.h" using namespace Bu; FunctionDisplay::FunctionDisplay() { } FunctionDisplay::~FunctionDisplay() { } Variable FunctionDisplay::call( class GameState &gState ) { Variable v = gState.pop(); sio << "Display: " << v << sio.nl; }