summaryrefslogtreecommitdiffstats
path: root/Project/Bus.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2016-08-07 21:36:40 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2016-08-07 21:36:40 -0300
commit139b076149594e6cf508aea269b061aa8b428d9c (patch)
tree759b8371bcc2e51d9474b4cc31f1f9bfd489bc06 /Project/Bus.h
parent0899cd2aea1fe2e71184bd9c6a86f3bd988304e5 (diff)
downloadPSP.git-139b076149594e6cf508aea269b061aa8b428d9c.tar.gz
PSP.git-139b076149594e6cf508aea269b061aa8b428d9c.tar.xz
PSP.git-139b076149594e6cf508aea269b061aa8b428d9c.zip
Some minor fixes
Diffstat (limited to 'Project/Bus.h')
-rw-r--r--Project/Bus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Project/Bus.h b/Project/Bus.h
index 095a72d..ccfc9d3 100644
--- a/Project/Bus.h
+++ b/Project/Bus.h
@@ -10,6 +10,7 @@ class Bus : public Element
Bus(wxPoint2DDouble position);
~Bus();
virtual bool Contains(wxPoint2DDouble position) const;
+ virtual bool Intersects(wxRect2DDouble rect) const;
virtual void Draw(wxPoint2DDouble translation, double scale) const;
virtual void Rotate();
virtual wxCursor GetBestPickboxCursor() const;