aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/action_node.h
diff options
context:
space:
mode:
authorrichiesams2013-08-26 14:03:25 -0500
committerrichiesams2013-08-28 16:44:19 -0500
commit52af1f7f1019ddb2f95d1cff034d58f3cffd224a (patch)
tree7f4e4be8a68e51ffefcf8cf00f4ce6cb28d9239a /engines/zvision/action_node.h
parent5e1215837ae29899dbb759a55b3de10b3dc0bee8 (diff)
downloadscummvm-rg350-52af1f7f1019ddb2f95d1cff034d58f3cffd224a.tar.gz
scummvm-rg350-52af1f7f1019ddb2f95d1cff034d58f3cffd224a.tar.bz2
scummvm-rg350-52af1f7f1019ddb2f95d1cff034d58f3cffd224a.zip
ZVISION: Bake ActionNode and MouseEvent into Control
This makes memory management a lot easier as well as removes the need for multiple lists that point to the same objects. However, there will be quite a few Controls that don't need all the functionality of ActionNode and MouseEvent, so the default implementations are No Op.
Diffstat (limited to 'engines/zvision/action_node.h')
-rw-r--r--engines/zvision/action_node.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/engines/zvision/action_node.h b/engines/zvision/action_node.h
index 9a5ca0be0b..9df06c750f 100644
--- a/engines/zvision/action_node.h
+++ b/engines/zvision/action_node.h
@@ -29,17 +29,6 @@ namespace ZVision {
class ZVision;
-class ActionNode {
-public:
- virtual ~ActionNode() {}
- /**
- * Processes the node given the deltaTime since last frame
- *
- * @param deltaTimeInMillis The number of milliseconds that have passed since last frame
- * @return If true, the node can be deleted after process() finishes
- */
- virtual bool process(uint32 deltaTimeInMillis) = 0;
-};
class TimerNode : public ActionNode {
public: