diff options
| author | 2026-03-15 11:42:31 +0100 | |
|---|---|---|
| committer | 2026-03-15 10:57:32 +0000 | |
| commit | 6a91d28cf161e5a121d7bc09453e23455a109cbb (patch) | |
| tree | b69f9c82098dd52863c3d22fc52953eb432bc4c7 /src/libparser/node/bind.cpp | |
| parent | ef1e7c6d4244f60094d2c703324f0490320277af (diff) | |
| download | OneRoll-6a91d28cf161e5a121d7bc09453e23455a109cbb.tar.gz OneRoll-6a91d28cf161e5a121d7bc09453e23455a109cbb.zip | |
[tree]: improve tree generation
Diffstat (limited to 'src/libparser/node/bind.cpp')
| -rw-r--r-- | src/libparser/node/bind.cpp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/libparser/node/bind.cpp b/src/libparser/node/bind.cpp index 9c502df..aaf3191 100644 --- a/src/libparser/node/bind.cpp +++ b/src/libparser/node/bind.cpp @@ -21,7 +21,7 @@ ***************************************************************************/ #include "bind.h" -BindNode::BindNode() : m_diceResult(new DiceResult()) +BindNode::BindNode() : ExecutionNode("%1 [label=\"Bind Node\"]"), m_diceResult(new DiceResult()) { m_result= m_diceResult; } @@ -80,17 +80,7 @@ ExecutionNode* BindNode::getLatestNode(ExecutionNode* node) } return next; } -QString BindNode::toString(bool withLabel) const -{ - if(withLabel) - { - return QString("%1 [label=\"Bind Node\"]").arg(m_id); - } - else - { - return m_id; - } -} + qint64 BindNode::getPriority() const { qint64 priority= 0; |