From a87a70298aefdcade34739ae2aa3b07436aae328 Mon Sep 17 00:00:00 2001 From: jonas Date: Mon, 10 Dec 2018 17:04:23 +0100 Subject: Wrap up for new branch --- AmpelJonas/cCrossroad.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'AmpelJonas/cCrossroad.cpp') diff --git a/AmpelJonas/cCrossroad.cpp b/AmpelJonas/cCrossroad.cpp index 10718f6..82c8ed1 100644 --- a/AmpelJonas/cCrossroad.cpp +++ b/AmpelJonas/cCrossroad.cpp @@ -46,8 +46,8 @@ void cCrossroad::run() //init backround->setPosition(0, 0); - backround->drawRectangle('°', '°', sPos{ 0, _SIZE_Y_ / 2 - 4 }, sPos{ _SIZE_X_ - 1, _SIZE_Y_ / 2 + 4 }, _COL_DEFAULT, _COL_DEFAULT); - backround->drawRectangle('°', '°', sPos{ _SIZE_X_ / 2 - 6, 0 }, sPos{ _SIZE_X_ / 2 + 6, _SIZE_Y_ }, _COL_DEFAULT, _COL_DEFAULT); + backround->drawRectangle('�', '�', sPos{ 0, _SIZE_Y_ / 2 - 4 }, sPos{ _SIZE_X_ - 1, _SIZE_Y_ / 2 + 4 }, _COL_DEFAULT, _COL_DEFAULT); + backround->drawRectangle('�', '�', sPos{ _SIZE_X_ / 2 - 6, 0 }, sPos{ _SIZE_X_ / 2 + 6, _SIZE_Y_ }, _COL_DEFAULT, _COL_DEFAULT); //add objects to handler handler.createObject(backround); @@ -153,8 +153,8 @@ void cCrossroad::run() break; } } - - + + carWest.drive(); carEast.drive(); carNorth.drive(); @@ -173,5 +173,6 @@ void cCrossroad::run() iWait--; iFrames++; backround->drawText(to_string(iFrames) , sPos{ 0,0 }, _COL_DEFAULT); //Framecounter + usleep(100*1000); } -} \ No newline at end of file +} -- cgit v1.2.3