summaryrefslogtreecommitdiffstats
path: root/Project/Element.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/Element.h
parent0899cd2aea1fe2e71184bd9c6a86f3bd988304e5 (diff)
downloadPSP.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.h1
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;