summaryrefslogtreecommitdiffstats
path: root/Project/Line.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-08-08 17:01:53 -0300
committerThales1330 <thaleslima.ufu@gmail.com>2016-08-08 17:01:53 -0300
commitb5324f48c855b0c82ccf6da7d5a008fe5cf1c17e (patch)
tree5879b694e565cf445b6f3c9a59782f72ab7543d5 /Project/Line.h
parent139b076149594e6cf508aea269b061aa8b428d9c (diff)
downloadPSP.git-b5324f48c855b0c82ccf6da7d5a008fe5cf1c17e.tar.gz
PSP.git-b5324f48c855b0c82ccf6da7d5a008fe5cf1c17e.tar.xz
PSP.git-b5324f48c855b0c82ccf6da7d5a008fe5cf1c17e.zip
Start Power Line implementation
gogogogo
Diffstat (limited to 'Project/Line.h')
-rw-r--r--Project/Line.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/Project/Line.h b/Project/Line.h
new file mode 100644
index 0000000..d98a1c5
--- /dev/null
+++ b/Project/Line.h
@@ -0,0 +1,21 @@
+#ifndef LINE_H
+#define LINE_H
+
+#include "Element.h"
+
+class Line : public Element
+{
+ public:
+ Line();
+ ~Line();
+ virtual bool Contains(wxPoint2DDouble position) const;
+ virtual void Draw(wxPoint2DDouble translation, double scale) const;
+ virtual wxCursor GetBestPickboxCursor() const;
+ virtual void Insert(Element* parent, wxPoint2DDouble position);
+ virtual bool Intersects(wxRect2DDouble rect) const;
+ virtual void MovePickbox(wxPoint2DDouble position);
+ virtual bool PickboxContains(wxPoint2DDouble position);
+ virtual void Rotate();
+};
+
+#endif // LINE_H