diff options
Diffstat (limited to 'node')
| -rw-r--r-- | node/dicerollernode.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/node/dicerollernode.cpp b/node/dicerollernode.cpp index cc1bff7..1e2dd88 100644 --- a/node/dicerollernode.cpp +++ b/node/dicerollernode.cpp @@ -46,3 +46,14 @@ QString DiceRollerNode::toString() const { return QString("DiceRollerNode"); } +qint64 DiceRollerNode::getPriority() const +{ + qint64 priority=0; + if(NULL!=m_nextNode) + { + priority = m_nextNode->getPriority(); + } + + + return priority; +} |