From 697baaa3cc92e945d2301238dc9bcabffdb465ef Mon Sep 17 00:00:00 2001 From: Thales1330 Date: Tue, 6 Sep 2016 18:32:47 -0300 Subject: Counter clockwise rotation implemented --- Project/Bus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Project/Bus.h') diff --git a/Project/Bus.h b/Project/Bus.h index a7fa122..190f761 100644 --- a/Project/Bus.h +++ b/Project/Bus.h @@ -13,7 +13,7 @@ class Bus : public Element virtual bool Contains(wxPoint2DDouble position) const; virtual bool Intersects(wxRect2DDouble rect) const; virtual void Draw(wxPoint2DDouble translation, double scale) const; - virtual void Rotate(); + virtual void Rotate(bool clockwise = true); virtual wxCursor GetBestPickboxCursor() const; virtual void MovePickbox(wxPoint2DDouble position); virtual bool PickboxContains(wxPoint2DDouble position); -- cgit