summaryrefslogtreecommitdiffstats
path: root/Project/Bus.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Bus.h')
-rw-r--r--Project/Bus.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Project/Bus.h b/Project/Bus.h
new file mode 100644
index 0000000..5a63bec
--- /dev/null
+++ b/Project/Bus.h
@@ -0,0 +1,18 @@
+#ifndef BUS_H
+#define BUS_H
+
+#include "Element.h"
+
+class Bus : public Element
+{
+ public:
+ Bus(wxPoint2DDouble position);
+ ~Bus();
+ virtual bool Contains(wxPoint2DDouble position) const;
+ virtual void Draw(wxPoint2DDouble translation, double scale) const;
+ virtual wxCursor GetBestPickboxCursor() const;
+ virtual void MovePickbox(wxPoint2DDouble position, int pickboxID);
+ virtual int PickboxContains(wxPoint2DDouble position) const;
+};
+
+#endif // BUS_H