summaryrefslogtreecommitdiffstats
path: root/Project/Bus.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-08-09 17:45:09 -0300
committerThales1330 <thaleslima.ufu@gmail.com>2016-08-09 17:45:09 -0300
commit0a85e05fa7aa0e2b950c2c3bcec5d45f25b1c0e2 (patch)
tree3ff5ec1cdeafafd58916e41151d437b44f49754f /Project/Bus.h
parentb5324f48c855b0c82ccf6da7d5a008fe5cf1c17e (diff)
downloadPSP.git-0a85e05fa7aa0e2b950c2c3bcec5d45f25b1c0e2.tar.gz
PSP.git-0a85e05fa7aa0e2b950c2c3bcec5d45f25b1c0e2.tar.xz
PSP.git-0a85e05fa7aa0e2b950c2c3bcec5d45f25b1c0e2.zip
Line under implementation
Diffstat (limited to 'Project/Bus.h')
-rw-r--r--Project/Bus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/Bus.h b/Project/Bus.h
index ac271b7..0c9d374 100644
--- a/Project/Bus.h
+++ b/Project/Bus.h
@@ -9,7 +9,7 @@ class Bus : public Element
Bus();
Bus(wxPoint2DDouble position);
~Bus();
- virtual void Insert(Element* parent, wxPoint2DDouble position = wxPoint2DDouble(0.0, 0.0)) { SetPosition(position); };
+ virtual bool AddParent(Element* parent, wxPoint2DDouble position) {return true;}
virtual bool Contains(wxPoint2DDouble position) const;
virtual bool Intersects(wxRect2DDouble rect) const;
virtual void Draw(wxPoint2DDouble translation, double scale) const;