aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node
diff options
context:
space:
mode:
authorobiwankennedy <renaud@rolisteam.org>2014-01-30 11:56:06 +0100
committerobiwankennedy <renaud@rolisteam.org>2014-01-30 11:56:06 +0100
commit3b7e21fbefc7ffd50c165082f0232ce1a6474c32 (patch)
tree2390430cca09150bdf02eb74456c5e70fd209c67 /node
parent12195f01002bbef88bb726be51f4408288034e33 (diff)
downloadOneRoll-3b7e21fbefc7ffd50c165082f0232ce1a6474c32.tar.gz
OneRoll-3b7e21fbefc7ffd50c165082f0232ce1a6474c32.zip
Update keepdiceexecnode.cpp
getPriority
Diffstat (limited to 'node')
-rw-r--r--node/keepdiceexecnode.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/node/keepdiceexecnode.cpp b/node/keepdiceexecnode.cpp
index ebe3941..c219e77 100644
--- a/node/keepdiceexecnode.cpp
+++ b/node/keepdiceexecnode.cpp
@@ -41,3 +41,14 @@ QString KeepDiceExecNode::toString() const
{
return QString("KeepDiceExecNode");
}
+qint64 KeepDiceExecNode::getPriority() const
+{
+ qint64 priority=0;
+ if(NULL!=m_nextNode)
+ {
+ priority = m_nextNode->getPriority();
+ }
+
+
+ return priority;
+}