diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2016-07-30 00:29:03 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2016-07-30 00:29:03 -0300 |
commit | 3a246308dcd76f70a1b6c3e6b08f0d597b255dba (patch) | |
tree | 62f42b83f39ffb0b32db5c658e0e1da428b8e6c6 /Project/Bus.h | |
parent | d1b893e6757270b0f246a7657d7b6701dcea3b87 (diff) | |
download | PSP.git-3a246308dcd76f70a1b6c3e6b08f0d597b255dba.tar.gz PSP.git-3a246308dcd76f70a1b6c3e6b08f0d597b255dba.tar.xz PSP.git-3a246308dcd76f70a1b6c3e6b08f0d597b255dba.zip |
Adding the basics graphics elements
The base is done, bus under contruction
Diffstat (limited to 'Project/Bus.h')
-rw-r--r-- | Project/Bus.h | 18 |
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 |