diff options
Diffstat (limited to 'Project/Bus.h')
-rw-r--r-- | Project/Bus.h | 1 |
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; |