// stopcross grafikus osztalyainak letrehozasa
GraphicsStopCross scg1 = new GraphicsStopCross();
scg1.setPosition(300, 75);
gr.addGraphicsObject(scg1, sc1);
DrawStopCross scd1 = new DrawStopCross();
scg1.setDraw(scd1);
scg1.setCross(sc1);
// lampcross grafikus osztalyainak letrehozasa
GraphicsLampCross lcg1 = new GraphicsLampCross();