X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=blobdiff_plain;f=src%2FentityCreator.cpp;h=191d3960ab350bc7e60809179c18835a6aa75c23;hp=104158c8a0be89ceb8b5793fce54ae5e1fe02f3f;hb=30a93c3992f0e1fc44193dde6d53216d3ae4f4e9;hpb=aa2791cf43a9ddd3a288e504db08e11d03439653 diff --git a/src/entityCreator.cpp b/src/entityCreator.cpp index 104158c..191d396 100644 --- a/src/entityCreator.cpp +++ b/src/entityCreator.cpp @@ -87,7 +87,7 @@ void creator::init() points.push_back(Vector2(300,500)); points.push_back(Vector2(500,300)); - manager::add(new Polygon(points)); + manager::add(new Polygon(points, cRed)); } void creator::clean() {