From f30020384f816b498fe1f6013758a8de37811821 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sun, 29 Dec 2013 02:04:19 +0100 Subject: Firt commit of the new dice system for rolisteam. --- node/executionnode.cpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 node/executionnode.cpp (limited to 'node/executionnode.cpp') diff --git a/node/executionnode.cpp b/node/executionnode.cpp new file mode 100644 index 0000000..cf1826d --- /dev/null +++ b/node/executionnode.cpp @@ -0,0 +1,24 @@ +#include "executionnode.h" + +ExecutionNode::ExecutionNode() + : m_nextNode(NULL) +{ + +} +ExecutionNode::~ExecutionNode() +{ + +} + +DiceResult* ExecutionNode::getResult() +{ + return &m_result; +} +void ExecutionNode::setNextNode(ExecutionNode* node) +{ + m_nextNode = node; +} +ExecutionNode* ExecutionNode::getNextNode() +{ + return m_nextNode; +} -- cgit v1.2.3-70-g09d2