aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/helpnode.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2014-12-09 20:41:07 +0100
committerRenaud G <renaud@rolisteam.org>2014-12-09 20:41:07 +0100
commitde38199f61635a4206eb44c8e70634086aa20538 (patch)
tree6ba0e179af79a3f8cbef50c28da5ac9c5be47b29 /node/helpnode.cpp
parent8d7e2cc15adf4a82ef6354fbfebfadc3a6bb075c (diff)
downloadOneRoll-de38199f61635a4206eb44c8e70634086aa20538.tar.gz
OneRoll-de38199f61635a4206eb44c8e70634086aa20538.zip
add help API
Diffstat (limited to 'node/helpnode.cpp')
-rw-r--r--node/helpnode.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/node/helpnode.cpp b/node/helpnode.cpp
index 77da788..a11c2b3 100644
--- a/node/helpnode.cpp
+++ b/node/helpnode.cpp
@@ -3,3 +3,23 @@
HelpNode::HelpNode()
{
}
+void HelpNode::run(ExecutionNode* previous)
+{
+ if(NULL != previous)
+ {
+
+ }
+ else
+ {
+
+ }
+}
+QString HelpNode::toString()const
+{
+ return QObject::tr("see full documentation at: <a href=\"https://github.com/obiwankennedy/DiceParser/blob/master/HelpMe.md\">https://github.com/obiwankennedy/DiceParser/blob/master/HelpMe.md</a>");
+}
+
+qint64 HelpNode::getPriority() const
+{
+ return 0;
+}