From 3a246308dcd76f70a1b6c3e6b08f0d597b255dba Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Sat, 30 Jul 2016 00:29:03 -0300 Subject: Adding the basics graphics elements The base is done, bus under contruction --- Project/Bus.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Project/Bus.h (limited to 'Project/Bus.h') 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 -- cgit