aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/action_node.h
diff options
context:
space:
mode:
authorrichiesams2013-08-26 14:05:01 -0500
committerrichiesams2013-08-28 16:44:20 -0500
commit3263ab7390fe2197983f28012cfc7199cd3ec500 (patch)
tree8845683a3a7edbd777e90d59a4d7944668a894b7 /engines/zvision/action_node.h
parent93bc3570ea33e3f5d21d5b14fe081800f9c7e700 (diff)
downloadscummvm-rg350-3263ab7390fe2197983f28012cfc7199cd3ec500.tar.gz
scummvm-rg350-3263ab7390fe2197983f28012cfc7199cd3ec500.tar.bz2
scummvm-rg350-3263ab7390fe2197983f28012cfc7199cd3ec500.zip
ZVISION: Modify TimerNode to use Control base class
Diffstat (limited to 'engines/zvision/action_node.h')
-rw-r--r--engines/zvision/action_node.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/zvision/action_node.h b/engines/zvision/action_node.h
index 9df06c750f..b0b8cae4b1 100644
--- a/engines/zvision/action_node.h
+++ b/engines/zvision/action_node.h
@@ -25,14 +25,16 @@
#include "common/types.h"
+#include "zvision/control.h"
+
namespace ZVision {
class ZVision;
-
-class TimerNode : public ActionNode {
+class TimerNode : public Control {
public:
TimerNode(ZVision *engine, uint32 key, uint timeInSeconds);
+
/**
* Decrement the timer by the delta time. If the timer is finished, set the status
* in _globalState and let this node be deleted
@@ -43,8 +45,6 @@ public:
bool process(uint32 deltaTimeInMillis);
private:
- ZVision *_engine;
- uint32 _key;
uint32 _timeLeft;
};