diff options
| author | 2014-01-07 18:50:39 +0100 | |
|---|---|---|
| committer | 2014-01-07 18:50:39 +0100 | |
| commit | d2f424c02eb59ef14e16ae0afca3d980d6255cf6 (patch) | |
| tree | d425a2fc1449f230d83c72fa4570973d45327b03 /node/executionnode.h | |
| parent | 9349f18bd70369f386a7d7aded021e908f6046f0 (diff) | |
| download | OneRoll-d2f424c02eb59ef14e16ae0afca3d980d6255cf6.tar.gz OneRoll-d2f424c02eb59ef14e16ae0afca3d980d6255cf6.zip | |
Update executionnode.h
make API more generic
Diffstat (limited to 'node/executionnode.h')
| -rw-r--r-- | node/executionnode.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node/executionnode.h b/node/executionnode.h index 2d81556..920ef56 100644 --- a/node/executionnode.h +++ b/node/executionnode.h @@ -1,7 +1,7 @@ #ifndef EXECUTIONNODE_H #define EXECUTIONNODE_H -#include "diceresult.h" +#include "result.h" class ExecutionNode { @@ -9,11 +9,11 @@ public: ExecutionNode(); virtual ~ExecutionNode(); virtual void run(ExecutionNode* previous = NULL)=0; - DiceResult* getResult(); + Result* getResult(); void setNextNode(ExecutionNode*); ExecutionNode* getNextNode(); protected: - DiceResult m_result; + Result* m_result; ExecutionNode* m_nextNode; }; |