summaryrefslogtreecommitdiff
path: root/tool.h
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-05-08 15:52:41 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-05-08 15:52:41 +0200
commit595ac4744b75688f7ca61993c42ea9eedab3a6b7 (patch)
tree89f7e10b47fb4e709d2896d5e366305ec3a3ced8 /tool.h
parent7d5c1adf8e581599848b3fec54e0af88eb469046 (diff)
Merged Quadtree and friends into Terrain.
Diffstat (limited to 'tool.h')
-rw-r--r--tool.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tool.h b/tool.h
index 13a833a..5ccda41 100644
--- a/tool.h
+++ b/tool.h
@@ -1,7 +1,7 @@
#ifndef TOOL_H
#define TOOL_H
-#include "quadtree.h"
+#include "terrain.h"
#include "vector.h"
#include "gui.h"
@@ -9,11 +9,11 @@
class Tool {
protected:
- Quadtree *tree;
+ Terrain *terrain;
GUI *gui;
public:
- Tool(Quadtree *tree);
+ Tool(Terrain *terrain);
virtual ~Tool() {};
virtual bool handle_event(SDL_Event& event, Vector3& selected) = 0;
@@ -26,7 +26,7 @@ class RaiseTool : public Tool {
static std::string name;
public:
- RaiseTool(Quadtree *tree);
+ RaiseTool(Terrain *terrain);
virtual ~RaiseTool();
virtual bool handle_event(SDL_Event& event, Vector3& selected);