diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2016-08-07 21:36:40 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2016-08-07 21:36:40 -0300 |
commit | 139b076149594e6cf508aea269b061aa8b428d9c (patch) | |
tree | 759b8371bcc2e51d9474b4cc31f1f9bfd489bc06 /Project/Element.h | |
parent | 0899cd2aea1fe2e71184bd9c6a86f3bd988304e5 (diff) | |
download | PSP.git-139b076149594e6cf508aea269b061aa8b428d9c.tar.gz PSP.git-139b076149594e6cf508aea269b061aa8b428d9c.tar.xz PSP.git-139b076149594e6cf508aea269b061aa8b428d9c.zip |
Some minor fixes
Diffstat (limited to 'Project/Element.h')
-rw-r--r-- | Project/Element.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Project/Element.h b/Project/Element.h index 1196f64..3080703 100644 --- a/Project/Element.h +++ b/Project/Element.h @@ -44,6 +44,7 @@ class Element virtual void Draw(wxPoint2DDouble translation, double scale) const = 0; virtual void Rotate() = 0; virtual bool Contains(wxPoint2DDouble position) const = 0; + virtual bool Intersects(wxRect2DDouble rect) const = 0; virtual bool PickboxContains(wxPoint2DDouble position) = 0; virtual void MovePickbox(wxPoint2DDouble position) = 0; virtual wxCursor GetBestPickboxCursor() const = 0; |