summaryrefslogtreecommitdiff
path: root/src/interface/Sandbox.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-19 13:44:59 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-19 13:44:59 (GMT)
commit44639a6423c03552a3c0faafab27ef8f395f73a6 (patch)
tree1a4fc49a56060759fcbec6f18e9159cf126e8606 /src/interface/Sandbox.h
parent4a60b97c700c2f1843b7e99313554cb89fb5da4e (diff)
downloadpowder-44639a6423c03552a3c0faafab27ef8f395f73a6.zip
powder-44639a6423c03552a3c0faafab27ef8f395f73a6.tar.gz
Some folder changes, started search and client
Diffstat (limited to 'src/interface/Sandbox.h')
-rw-r--r--src/interface/Sandbox.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/interface/Sandbox.h b/src/interface/Sandbox.h
deleted file mode 100644
index fb4a668..0000000
--- a/src/interface/Sandbox.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Sandbox.h
- *
- * Created on: Jan 8, 2012
- * Author: Simon
- */
-
-#ifndef SANDBOX_H_
-#define SANDBOX_H_
-
-#include <queue>
-#include "Point.h"
-#include "Component.h"
-#include "Simulation.h"
-#include "Renderer.h"
-
-namespace ui {
-
-class Sandbox: public ui::Component {
-private:
- int lastCoordX, lastCoordY;
- int activeElement;
- std::queue<Point*> pointQueue;
- bool isMouseDown;
- Renderer * ren;
- Simulation * sim;
-public:
- Sandbox();
- virtual Simulation * GetSimulation();
- virtual void OnMouseMoved(int localx, int localy, int dx, int dy);
- virtual void OnMouseClick(int localx, int localy, unsigned int button);
- virtual void OnMouseUp(int localx, int localy, unsigned int button);
- virtual void Draw(const Point& screenPos);
- virtual void Tick(float delta);
- virtual ~Sandbox();
-};
-
-} /* namespace ui */
-#endif /* SANDBOX_H_ */