aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/allsamenode.h
diff options
context:
space:
mode:
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