aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/allsamenode.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2019-09-26 14:00:35 +0200
committerRenaud G <renaud@rolisteam.org>2019-09-26 14:00:35 +0200
commitd94207bc22768e579766b281c28f211d25d2d9d4 (patch)
tree0bd17e71b96e624080581eca6fc213f68c97bf0c /node/allsamenode.h
parent69a238f0d1937fe5bc97b69e3cc4af0bf0ddde2b (diff)
downloadOneRoll-d94207bc22768e579766b281c28f211d25d2d9d4.tar.gz
OneRoll-d94207bc22768e579766b281c28f211d25d2d9d4.zip
Add operator T
Diffstat (limited to 'node/allsamenode.h')
-rw-r--r--node/allsamenode.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/node/allsamenode.h b/node/allsamenode.h
new file mode 100644
index 0000000..e5c1dc2
--- /dev/null
+++ b/node/allsamenode.h
@@ -0,0 +1,33 @@
+#ifndef ALLSAMENODE_H
+#define ALLSAMENODE_H
+
+#include "executionnode.h"
+
+#include "result/diceresult.h"
+#include "validator.h"
+
+class AllSameNode : public ExecutionNode
+{
+public:
+ AllSameNode();
+// virtual ~AllSameNode();
+
+ virtual void run(ExecutionNode* previous);
+ /**
+ * @brief toString
+ * @return
+ */
+ virtual QString toString(bool withLabel) const;
+ /**
+ * @brief getPriority
+ * @return
+ */
+ virtual qint64 getPriority() const;
+
+ virtual ExecutionNode* getCopy() const;
+
+private:
+ DiceResult* m_diceResult;
+};
+
+#endif // FILTERNODE_H