summaryrefslogtreecommitdiffstats
path: root/Project/Machines.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-09-06 18:32:47 -0300
committerThales1330 <thaleslima.ufu@gmail.com>2016-09-06 18:32:47 -0300
commit697baaa3cc92e945d2301238dc9bcabffdb465ef (patch)
tree01f3de93600a1036c8d693c5c8150434ebf75731 /Project/Machines.h
parentd93ef357da510f2515556ff2cb51688a4e068805 (diff)
downloadPSP.git-697baaa3cc92e945d2301238dc9bcabffdb465ef.tar.gz
PSP.git-697baaa3cc92e945d2301238dc9bcabffdb465ef.tar.xz
PSP.git-697baaa3cc92e945d2301238dc9bcabffdb465ef.zip
Counter clockwise rotation implemented
Diffstat (limited to 'Project/Machines.h')
-rw-r--r--Project/Machines.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Project/Machines.h b/Project/Machines.h
index 737e407..8c60631 100644
--- a/Project/Machines.h
+++ b/Project/Machines.h
@@ -16,12 +16,12 @@ public:
virtual void Move(wxPoint2DDouble position);
virtual void MoveNode(Element* element, wxPoint2DDouble position);
virtual void StartMove(wxPoint2DDouble position);
- virtual void RotateNode(Element* parent);
+ virtual void RotateNode(Element* parent, bool clockwise = true);
virtual void RemoveParent(Element* parent);
virtual bool NodeContains(wxPoint2DDouble position);
virtual bool SetNodeParent(Element* parent);
virtual void UpdateNodes();
- virtual void Rotate();
+ virtual void Rotate(bool clockwise = true);
virtual void DrawSymbol() const {}
protected: